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.
我正在尝试编写一个 bash 脚本,该脚本在 nc 中打开一个在后台保持打开的 FTP 连接。我有:
(echo "USER o:)"; echo "PASS foo")| nc -d 192.168.56.101 21 &
但连接会立即关闭。有一个更好的方法吗?
万分感谢
我明白了:将读取添加到链中!