expect tag

2 questions


2 answers
78 views
0
If there is a space in the file name when scp is performed in expect bash, it is treated as a different file.

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...

2 years ago

1 answers
84 views
0
I want shell scripts to be able to generate easy-rsa client certificates

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 ...

2 years ago

© 2024 OneMinuteCode. All rights reserved.