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.
我是 unix (KSH) 的新手,我需要编写一个 unix 脚本来将一个 .dat 文件从一个服务器位置 FTP 到另一个服务器位置。请帮助编写这样的代码。
“从 - 服务器 A,位置 - vic/folder/day.dat 到 - 服务器 B,位置 - sam/文件夹”
可能您需要花一些时间来学习使用expect命令和脚本。维基百科的期望页面有很多关于如何使用它的示例。