Convert multiple SFTP command lines to a single line command line

前端 未结 1 1970
旧时难觅i
旧时难觅i 2021-01-17 03:16

How do I convert this EOF into a one line sftp command-line?

sftp -v bheng@45.55.88.88 <         


        
相关标签:
1条回答
  • 2021-01-17 04:08

    Your question has nothing to do with SFTP/sftp. It's just a generic shell question.

    So use any method that a shell allows, for example

    (echo command1 && echo command2 && echo command3) | sftp ...
    
    0 讨论(0)
提交回复
热议问题