Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- user=$1
- pass=$2
- if [ "$#" -ne 2 ];then
- echo "Please run the script with userid and password as arguments"
- fi
- cat servers.txt | while read host
- do {
- ./sandy_try.sh $user $host $pass
- } < /dev/null; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement