Three nice commands

 

1- Protect directory from an overzealous rm -rf *

cd <directory>; touch ./-i

Forces the -i flag on the rm command when using a wildcard delete

2-

ssh remotehost 'dpkg --get-selections' | dpkg --set-selections &amp;&amp; dselect install

Get your IP addresses

hostname -i | awk '{print $3}'

ASCII webcam live stream video using mplayer

mplayer -tv driver=v4l2:gain=1:width=640:height=480:device=/dev/video0:fps=10:outfmt=rgb16 -vo aa tv://

Forces the -i flag on the rm command when using a wildcard delete.