≡ Menu

rm -rf /

Recently Noticed UNIX Command Enhancements

FreeBSD portmanager command gives out more information about package progress and names on the title bar:

portmanager.png
(Fig. 01: FreeBSD port collection management just got better)
Sun introduced rm -rf / protection (the worst mistake you can make on any UNIX box) in to Solaris 10. Upon executing the command, the system now reports that the removal of / is not allowed.

rm of / is not allowed

Linux kernel now hides passwords and username into the process list. Consider the following example,
$ ncftp -L -u 'vivek' -p 'MyPassWord' ftp.nixcraft.com
If anyone run ps -aux, they will only see:
vivek 17066 0.0 0.0 4640 1904 pts/0 Ss 10:53 0:00 bash
vivek 17070 0.0 0.0 3708 1168 pts/0 S+ 10:54 0:00 ncftp -L -u ******* -p ******** ftp.nixcraft.com

Sweet :) Have you noticed any new UNIX command enhancements lately?