Here are some simple things that are really invaluable - I use them several times per day
'cd -' will go 'back' a directory (eg. say you were in /usr/src/linux, then went to ~/kernelconfigs ... you can quickly get back to /usr/src/linux by typing cd -)
when you're typing in a file name, you can enter the first few letters and then <TAB>. It'll either automatically be completed for you or it'll show you a list of potential matches.
and if you want to perform batch operations on files in a directory, you can try this:
Code:
for i in *; do operation_1_on $i; operation_2_on $i; done
EX:
Code:
for i in *; do mpg123 -w "${i/.mp3}.wav" "$i"; toolame -v 5 "${i/.mp3}.wav" "${i/.mp3}.mp2"; done
is something I just used to convert a few mp3s into mp2 format for easier editing. I know I can use something like transcode or ffmpeg, but they don't like to compile with GCC 3.4 yet =)