Dangerous use of 'rm'

Stephen Allen freebsduk at rowyerboat.com
Thu Jul 6 23:48:19 BST 2006


James O'Gorman wrote:
> So alias rm to rm -i and then when you're ready to add the -rf, hit
> up, Ctrl-A and then right arrow three times to type -rf. Surely this
> isn't too much effort to ensure the safety of your files?

Aha! - Now that helps a lot.  Ctrl+A is used as 'Home'.  I've always 
been struggling (and still am) with getting all the keymap stuff to work 
in FreeBSD properly (by properly, I mean Home/End/Del/Backspace stuff).

Ctrl+A will do while I work on the keymaps.

Thanks James,
Steve :)




More information about the Ukfreebsd mailing list