NotesBash

Notes

!$ 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 ’{}’ \;

Using History Interactively

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}.


Soap and education are not as sudden as a massacre, but they are more deadly in the long run.

  -- Mark Twain