Linux cp命令使用-f 还是会提示 cp: overwrite ‘xxx’?
super
2023-11-29 16:07


某些服务器给cp命令加了别名,实际为 cp -i
可以打开/root/.bashrc文件查看是否有 alias cp='cp -i'

如果有此行,在前面加一个#注释即可

重新打开终端,再次运行

0 条讨论