Skip to content

Instantly share code, notes, and snippets.

@LuD1161
Created October 10, 2018 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuD1161/a8067b10cb9032e5062de040e51c9a1b to your computer and use it in GitHub Desktop.
Save LuD1161/a8067b10cb9032e5062de040e51c9a1b to your computer and use it in GitHub Desktop.
Multiple Targets for the master script
#!/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