Benjamin Juang (ibneko) wrote,
Benjamin Juang
ibneko

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)
Tags: geek, interview, unix
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments