I am trying out this following modification to my ~/.profile:
Code:
alias rm=`rm --preserve-root`
Just so you know, this will,
by default, prevent
rm -rf / from being run, returning an error when
rm -rf / is invoked. I want to know if any of you guys have ever tried this yourselves. I will possibly also add this to my system-wide /etc/profile.