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

My favorite:

  UNIX:

    % ls
    foot.c foot.h foot.o toe.c toe.o
    % rm * .o
    rm: .o: No such file or directory
    % ls
    %


Ha ha. And that's not even a newb mistake alone. It's possible even for an expert to maje, by just one accidental space keypress, between the * and the .o, in 2nd command above. Such is Unix.


"rm -I" provides some protection.




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

Search: