View Single Post
Old 03-14-2004, 05:52 AM   #17 (permalink)
Rekna
Junkie
 
I have a couple more good stories

A couple days ago a friend of mine accidently ran a normal file as a script, well that file had the word touch in it or something which caused a bunch of files to be created with a question mark at the end.

So he decideds to try and delete all the files by typing rm *?
(Delete all files that have at least one character)



A professor of mine while in grad school was cleaning up his directories and wanted to delete all the files in his directory that ended in .o

So he types rm -r *.o (so he thinks)

but he mistakingly was pressing the shift key still when he pressed the period so the command he typed was

rm -r *>o
(Delete all files and redirect the output to a file called o)

Last edited by Rekna; 03-14-2004 at 07:29 AM..
Rekna is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62