[clug] Ever received a .dat file from an <other OS> user?

Andrew Janke a.janke at gmail.com
Fri Jan 15 16:31:47 MST 2010


>> [ -n "$dir_i_do_not_want" ] && [ -n "$subdir_i_do_not_want" ] && rm -rf
>> $dir_i_do_not_want/$subdir_i_do_not_want
>
> Yes, that certainly a safe way to handle the situation, and what I usually
> do.  Somewhat verbose, 'though!

Unless I (as the naughty user) set both variables to '/'.   Or the
first to / and the second to .

(or did I miss something?)

--
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia    +61 (402) 700 883


More information about the linux mailing list