Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Prevent rm disasters' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Prevent rm disasters
Authored by: macg4dave on Oct 04, '05 10:14:28PM

If you are using the tcsh why not use

"alias rm 'sudo rm -dRfi'" & for folders "alias rmdir 'sudo rm -dfr'"

just pop that in your .tcshrc file and it will ask for a password & show you what you are trashing



[ Reply to This | # ]