2 questions
If the file name is space separated when scp is performed with bash expect, it will be treated as a different file.fromfile='[email protected]:/tmp/hoge hhoge hhoge.txt'expect-cset timeout 3600spa...
I'm a beginner in shellscript.When creating a client certificate with easy-rsa for OpenVPN, I wrote the following code so that it could be executed in shellscript:#!/bin/bashexpect-cset timeout5spawn ...
© 2024 OneMinuteCode. All rights reserved.