3 ms·
The similarity of "rm -rf *" and "rm -rf /" makes me nervous any time I "cd" somewhere and then issue the first. There is no trash can in my Unix, deleted is g
by mqsiuser 12y ago
The similarity of "rm -rf *" and "rm -rf /" makes me nervous any time I "cd" somewhere and then issue the first.
There is no trash can in my Unix, deleted is gone forever.
A move (mv) or copy (cp) just overwrites files with the same name (as default)
Right clicking (&executing everything (every line) that just got pasted from the current clipboard/copy-buffer)
- dannypgh 12y agoWhy would you cd somewhere and then do rm -rf * when you can just rm -rf somewhere? Having your shell expand * is just asking for trouble; on most systems you'll have no problems creating more entries in a directory than you can specify arguments on the command line, so rm -rf * will not work from 'somewhere' but rm -rf somewhere should still work fine.