-f, --force if an existing destination file cannot be
opened, remove it and try again (this option
is ignored when the -n option is also used)
-i, --interactive prompt before overwrite (overrides a previous -n
option)
从帮助文档可以看到,-i 参数会使系统对每一次覆盖操作都向用户发出提示信息。
解决方案
输入 vi ~/.bashrc 编辑 .bashrc 文件,将其中的 alias cp='cp -i' 用 # 注释掉。
最后,退出当前登陆系统的账户,重新登陆即可。
备注
alias cp='cp -i' 这个别名是一项很重要的安全措施,或许可以在关键时刻阻止我们的误操作,因此,平时还是保留这个别名为好。
在最近于法国里昂举办的 Open Source Summit Europe 讨论会上,Linux 创始人 Linus Torvalds 讲述了他目前的工作以及他对于自己工作的看法。
Linus Torvalds 说:
“I don’t know coding at all anymore. Most of the code I write is in my e-mails. So somebody sends me a patch … I [reply with] pseudo code. I’m so used to editing patches now I sometimes edit patches and send out the patch without having ever tested it. I literally wrote it in the mail and say, ‘I think this is how it should be done,’ but this is what I do, I am not a programmer. “
参考链接: [1]. This Time, There Really Are NO IPv4 Internet Addresses Left https://www.ispreview.co.uk/index.php/2019/10/this-time-there-really-are-no-ipv4-internet-addresses-left.html [2]. Getting Ready for IPv4 Run-out https://www.ripe.net/publications/news/about-ripe-ncc-and-ripe/getting-ready-for-ipv4-run-out
Google CEO Sundar Pichai 于当地时间 2019 年 10 月 23 日发表了一篇名为 “What our quantum computing milestone means”(《我们量子计算的里程碑意味着什么》)的博文,在该博文中,Pichai 说 Google 在量子计算领域已经取得了“巨大突破”,即通常所说的“量子霸权 (Quantum Supremacy)”.
Pichai 说:”We can think about today’s news in the context of building the first rocket that successfully left Earth’s gravity to touch the edge of space. At the time, some asked: Why go into space without getting anywhere useful? But it was a big first for science because it allowed humans to envision a totally different realm of travel … to the moon, to Mars, to galaxies beyond our own. It showed us what was possible and nudged the seemingly impossible into frame.”