[Terminal] 关于终端通过sudo执行命令变慢卡顿的问题
Tofloor
poster avatar
seasky
deepin
2024-11-16 16:31
Author

最近一段时间,在终端里通过sudo执行命令的时候,要等待好几秒钟才会有响应,而同样的命令直接执行的话,直接就会返回结果,不会卡顿。

比如sudo ls和ls,如下图:

image.png

Reply Favorite View the author
All Replies
蔡EEPIN
deepin
2024-11-16 16:52
#1

echo "127.0.0.1 $(hostname)" |sudo tee -a /etc/hosts

Reply View the author
neko
deepin
Ecological co-builder
2024-11-17 00:23
#2

https://bbs.deepin.org.cn/post/267859

参考这篇,一楼可解

Reply View the author
Oli
deepin
2024-11-17 00:59
#3

agree

Reply View the author
seasky
deepin
2024-11-18 08:58
#4

如上设置后,恢复正常,谢谢大家!

like

Reply View the author