[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't use GUI as root

David Baron wrote:
Second it's ten times easier to mess your system in console mode
("rm * test" instead of "rm *test" comes to mind).
True nuff!

Pass rm the '-i' option to be prompted at each removal.

Or put in your .bashrc the alias:
alias rm='rm -i'

Or make a user .trash directory in /tmp and wrap rm with a script to mv to /tmp/user/.trash, what would have been removed.


Reply to: