Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Run bash script within a script - Help

$
0
0
Hello -

Iam have been trying to run this Query:

Want to run .auto.bash command in the script. Is there a way i can get this done?

Code:

#!/bin/bash _servers="/tmp/servers.txt" _out="/tmp/output.$$" _ssh=/usr/bin/ssh set -x for server in $_servers do $_ssh $s  ./net/ussdp137/opt/EHS/scripts/auto.bash >>$_out done

Viewing all articles
Browse latest Browse all 16232

Trending Articles