September 2008
The Archives
-
09.17.08Time$ time for i in `ls` ; do cat $i ; done Shows the 'real', 'user' and 'sys' time invested in the task.
-
09.08.08IP data of an ssh connection$ echo $SSH_CLIENT 172.26.0.10 50849 22 192.168.1.254 Shows the IP data of the ssh connection this tty is linked to.
-
09.03.08Taking screenshots$ import -window root screenshot.jpg Takes a shot of the whole desktop and saves it in screenshot.jpg. import is part of the ImageMagick suite.