How about something on the lines of an alias to the following in .bashrc?
perl -e 'foreach $i in (@ARGV) { die "cannot delete /\n" unless ($i ne
"/"); } ; system "rm @ARGV";'

SB

PS. check for syntax

-- 
LUG@IITD - http://lug-iitd.org/Footer

Reply via email to