NotesBash
!$ |
Designates the last argument of the preceding command. |
grep -v |
Shows lines that don't match the pattern |
Example of find using -exec:
find . -type f -exec file ’{}’ \;
Stick the job in the background (ctrl-Z then "bg") then detach it from the terminal (in bash, "disown -h %[jobid]"). You may then close the terminal.
Make complex directory trees: mkdir -p foo/{cur,new,tmp}.