当我粘贴到终端时,有时剪贴板中的内容不是我所期望的。具体来说,它有时是来自网站的页面和文本页面。
发生这种情况时,终端会发疯,快速闪烁并command not found以最快的速度吐出。
command not found
我担心有一天文本会包含类似rm -rf /.
rm -rf /
什么是最好的方法:
有关详细信息,我在 Linux 上的 urxvt 终端的 GNU 屏幕窗口中使用 bash。
在我的经验中,通常Ctrl-C或Ctrl-Z没有影响。
Ctrl-C
Ctrl-Z
linux terminal bash urxvt copy-paste
bash ×1
copy-paste ×1
linux ×1
terminal ×1
urxvt ×1