jaywcjlove / linux-command

Linux命令大全搜索工具,内容包含Linux命令手册、详解、学习、搜集。https://git.io/linux
https://jaywcjlove.github.io/linux-command
MIT License
32.02k stars 6.17k forks source link

about cp command #85

Open pplmx opened 5 years ago

pplmx commented 5 years ago

By alias command, you will see the following info in some os(For example, rhel7.4). By default, cp is cp -i. Under this situation, you need use \cp to the origin command.(e.g. ,\cp -f)

alias cp='cp -i'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias mv='mv -i'
alias rm='rm -i'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
jaywcjlove commented 5 years ago

@mystic-cg You can open a PR and I will merge it.