cp -f无效问题找到了,原来是系统使用别名,默认用了-i参数,一定要确认覆盖 .bashrc
# User specific aliases and functions
alias rm='rm -i' alias cp='cp -i' alias mv='mv -i'