标签:shell UNC pass put 告警 pen end bsp class
今天编写shell脚本,执行时报错
原因是eof前面不能有空格或tab,否则会告警。
要以以下格式才行
function send { ftp -inv << eof open ip user $username $password dir cd mid pwd put $i dir bye eof }
标签:shell UNC pass put 告警 pen end bsp class
原文地址:https://www.cnblogs.com/paul8339/p/12469691.html