Define some safe commands:
Create file ~/bin/longliqwrc.sh
- alias rm='rm -i'
- alias cp='cp -i'
- alias mv='mv -i'
Add the following lines to ~/.bashrc
- if [ -f ~/bin/longliqw.sh ]; then
- . ~/bin/longliqw.sh
- fi
Add the following lines to ~/.profile
- if [ -f "$HOME/.bashrc" ]; then
- . "$HOME/.bashrc"
- fi