June 21st, 2008

Neko (lofulah)

Interesting Interview Questions!

Name ten Unix commands capable of sending mail.

Name ten Unix commands capable of destroying your system.


My answers:
telnet, pine, sendmail, mail, perl, php, crontab (ok, indirectly, but mail still gets sent), emacs

...and after consulting google: rmail, mailx


rm, sudo, su, mv, fdisk, :(){ :|:& };:, crontab (again, somewhat indirectly. Or a halt for * * * * *. Not really "destructive", but quite annoying. Or use previously mentioned fork bomb.), echo ("" > [some important file here]), perl and php and probably irb (creating some sort of recursive hard drive space eater)