Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unix Haters Handbook is still surprisingly up to date.

http://web.mit.edu/~simsong/www/ugh.pdf page 28 (68)

>Some Unix victims turn this filename-as-switch bug into a “feature” by keeping a file named “-i” in their directories. Type “rm *” and the shell will expand this to “rm -i filenamelist” which will, presumably, ask for confirmation before deleting each file.



Oh God that's like something I'd find on Cthulhu's computer




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: