- ### file protection ###
- alias rm='rm -i'
- ### list ###
- # uncomment the following if you can produce color text
- #alias ls='ls -color'
- #produces long output
- alias ll='ls -l'
- #produces hidden files
- alias la='ls -a'
- ### editors ###
- # uncomment the following line if you have vim installed
- #alias vi='vim'
- ### dos aliases ###
- alias cls='clear'
- alias dir='ls -l'
- alias copy='cp'
- alias del='rm'
- #该片段来自于http://www.codesnippet.cn/detail/080320132329.html
来源: http://www.codesnippet.cn/detail/080320132329.html