Wednesday, September 15, 2010

ways to diasble rm in fedora


[jerome@localhost ~]$ vi /home/jerome/.bashrc
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi


# User specific aliases and functions
alias rm='echo command disabled for file '

No comments:

Post a Comment

About

Blogger templates