说明: # alias cp alias cp='cp -i'
# vi ~/.bashrc //内容如下 # .bashrc # User specific aliases and functions alias rm='rm -i' #alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi
# \cp -rf aaa bbb
(责任编辑:IT) |