Created
October 10, 2018 16:57
-
-
Save LuD1161/a8067b10cb9032e5062de040e51c9a1b to your computer and use it in GitHub Desktop.
Multiple Targets for the master script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "Target file not specified" | |
echo "Usage : ./multiple-targets.sh file_name" | |
exit 1 | |
fi | |
for target in $(cat $1); | |
do | |
/root/tools/master_script.sh $target basic | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment