Compile all C files in a directory$ ls *.c | while read F; do gcc -Wall -o `echo $F | cut -d . -f 1 - ` $F; done