bash
Bash shell tricks
Shortcuts
- ctrl-r (Reverse search in command history. Tab to complete command.)
- tab (Tries to complete what ever you have typed in.)
- !$
- !!
For Loops
for i in * ; do echo $i ; bzip2 $i ; done
Bash shell tricks
for i in * ; do echo $i ; bzip2 $i ; done