Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用这个命令sudo('/opt/squid/sbin/squid'),什么也没发生,但如果我跑了sudo /opt/squid/sbin/squid,它就可以了。
sudo('/opt/squid/sbin/squid')
sudo /opt/squid/sbin/squid
Fabric ssh和shell有什么区别?
更新:我的操作系统是 Amazon Linux,基于 CentOS/RedHat
这很可能与 pty 设置有关。请查看此常见问题解答部分以获取更多信息。