However, even though i specify no password on the command, the script does not wait for a user input and just carries on regardless and errors out. What would be a better, generic way of doing this ...
One of the delights in Bash, zsh, or whichever shell tickles your fancy in your OSS distribution of choice, is the ease of which you can use scripts. These can be shell scripts, or use the Perl, ...
Linux Journal, representing 25+ years of publication, is the original magazine of the global Open Source community.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results