Here is a fun list of bash commands.
http://houcemhachicha.blogspot.com/2010/07/my-top-ten-shellbash-tricks.html
the one I did not think of when looking at the list:
:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13:
Permission denied)
E: Unable to lock the list directory
:~$ sudo !!
An oldie but goodie (do at your own risk):
:~$:(){ :|:& };:
Your top 10 commands(a bit to remember):
:~$ history |tr '\011' ' ' |tr -s " "| cut -d' ' -f3 |sort |uniq -c
|sort -nbr |head -n10
168 sudo
151 ssh
133 nmap
118 htop
112 killall
111 cd
81 make
29 find
17 umount
7 man
Chris...
--
"As we open our newspapers or watch our television screens, we seem to
be continually assaulted by the fruits of Mankind's stupidity."
-Roger Penrose
_______________________________________________
LinuxUsers mailing list
[email protected]
http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers