10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I did the following script to ping multiple servers, but I keep on receiveing duplicate emails for one server that is down:
cat /var/tmp/servers.list | while read output
ping -c 1 "$output" > /dev/null
if ; then
echo "node $output is up"
... (10 Replies)
Discussion started by: fretagi
2. Shell Programming and Scripting
I need to run a script on a bunch of remote servers. how can this be done without ssh into each individual server and run it
its under /sbin/script.sh on each server (1 Reply)
Discussion started by: tdubb123
3. Shell Programming and Scripting
I am new to scripting and i am trying to use below script to copy code to multiple servers and multiple locations on each server. the script is not working or doesnt give any error. Any help is appreciated. basically i want a script to get the code from a location (dir below) and read the... (2 Replies)
Discussion started by: Ron0612
4. UNIX for Dummies Questions & Answers
Im trying to remote into a server, run a script that resides on that server and capture the information displayed & store in a local file.
I struggled with this yesterday & finally that script is working now.
Now, here is a scope creep and the script that I wrote for 1 remote... (2 Replies)
Discussion started by: OMLEELA
5. Shell Programming and Scripting
I am a Unix newbie and I need a script in which I can run a command on multiple servers at work. The command is to start a storage process and I am sick of doing it manually on all servers..
Here's the command:
/opt/bss/bin/snmptable -CB -v2c -c P67LzuBm hostname hrStorageTable... (4 Replies)
Discussion started by: kinyyy
6. Shell Programming and Scripting
I am bit new to shell scripting. I need some help in my script.
I have to login into 15 servers and check some logs daily. For that I've written one shell script, somewhere it is having some problems. After log into the first server, the script is not going with the next steps.... (6 Replies)
Discussion started by: raghu.iv85
7. Shell Programming and Scripting
I'm using the following script to automated ftp files to 1 ftp servers
/usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp
and the .netrc file contain
login abc... (4 Replies)
Discussion started by: varu0612
8. Shell Programming and Scripting
I am a total noob to the Unix world, and i hope to learn a lot from this wonderful community. Here's my first post and question , i am trying to SCP a file to multiple servers (multiple destinations) through this little script :
# copy files
# File to be copied... (7 Replies)
Discussion started by: rdlover
9. Shell Programming and Scripting
I need to login into multiple servers thru a script run couple commands and run find command as root. I only have ssh access to the servers as a user than I can "su" to root. If you have a similar script please post it. Also if you can suggest commands that I should consider please let me know.
... (1 Reply)
Discussion started by: avcert1998
10. Shell Programming and Scripting
Hi folks. I am writing a ksh ftp script. The problem is, I need to transfer the files to several different servers. Is there a way to close a connection and move on to the next in one script or do I need to write a separate script for each one?
kristy (2 Replies)
Discussion started by: kristy