#! /bin/bash
exe=`basename $1 .c`
gcc $1 -o $exe
Will compile source.c and the output file will be source.
I use it along with a bash alias.
#! /bin/bash
exe=`basename $1 .c`
gcc $1 -o $exe
Will compile source.c and the output file will be source.
I use it along with a bash alias.
List some of you favourite desktop applications (GUI).
For me:
firefox
thunderbird
midori (like it because it's lightweight)
gnome do
terminator (terminal with tabs)
guake (Quake console-like terminal)
thunar (I prefer it over nautilus, the default in gnome)
pidgin
dropbox
qualculate! - scientific calculator
geany
parcellite (clipboard manager)
deluge (BitTorrent application)
SYSTEM INFORMATION
Running Ubuntu Linux, the Ubuntu 8.04 (hardy) release.
GNOME: 2.22.3 (Ubuntu 2008-07-09)
Kernel version: 2.6.24-21-generic (#1 SMP Tue Oct 21 23:43:45 UTC 2008)
GCC: 4.2.4 (i486-linux-gnu)
Xorg: unknown (13 June 2008 01:08:21AM) (13 June 2008 01:08:21AM)
Hostname: odin
Uptime: 2 days 0 h 21 min
CPU INFORMATION
GenuineIntel, Intel(R) Pentium(R) 4 CPU 3.00GHz
Number of CPUs: 2
CPU clock currently at 3906.986 MHz with 1024 KB cache
Numbering: family(15) model(4) stepping(9)
Bogomips: 7820.59
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pebs bts pni monitor ds_cpl cid cx16 xtpr lahf_lm
MEMORY INFORMATION
Total memory: 1010 MB
Total swap: 1004 MB
STORAGE INFORMATION
SCSI device - scsi0
Vendor: PIONEER
Model: DVD-RW DVR-111D
SCSI device - scsi0
Vendor: ASUS
Model: CRW-5232A4
SCSI device - scsi2
Vendor: ATA
Model: WDC WD800JD-00LS
SCSI device - scsi2
Vendor: ATA
Model: WDC WD2500SD-01K
HARDWARE INFORMATION
MOTHERBOARD
[...]
GRAPHIC CARD
[...]
SOUND CARD
[...]
NETWORK
[...]
NVIDIA GRAPHIC CARD INFORMATION
Model name: GeForce 6600
Card Type: PCI-E 16x
Video RAM: 256 MB
GPU Frequency: 350 MHz
Driver version: NVIDIA UNIX x86 Kernel Module 169.12 Thu Feb 14 17:53:07 PST 2008
finch
vnstat
netstat
nano
pine/alpine
calc
cd & ls :)
The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.
Join / Linux Training / Board