in reply to rm -rf /

The net effect of this is to attempt to delete everything on your hard drive by running system "rm -rf /".

# 0 ? s/.../... : s/.../.../; $_ = "=]=>%-{<-|}<&|`{"; # y[\x20-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d] # [`abcdefghijklmnopqrstuvwxyz{/" -]; $_ = 'system "rm -rf"'; eval; # /ee

Replies are listed 'Best First'.
Re^2: rm -rf /
by TZapper (Acolyte) on Aug 12, 2004 at 23:00 UTC
    Yes, thats what my title says: rm -rf /
    Hence the warning message too.
    I too had to wrap it with several eval blocks to decode the one-liner, but your approach was much nicer.