September 1, 2008
Interesting list of 15 examples of bash history syntax.
Most people probably know #5:
ps aux | grep yp
I didn’t know #13, that looks really useful for arcane purposes:
# cp ~/longname.txt /really/a/very/long/path/long-filename.txt
# ls -l !cp:2
ls -l /really/a/very/long/path/long-filename.txt
June 9, 2008
Network Theory have a Bash Quiz!
Out of the ten questions, one I’m not immediately sure of without checking; another I only happened to come across earlier today, and one (
echo "\'")I got wrong
So, 7/10 really; 8/10 by good fortune of coming across the definition earlier today