Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

read command line variables

SOLVED
Go to solution
Todd McDaniel_1
Honored Contributor

read command line variables

I feel really stupid asking this, but I lost a script I used to run with remsh so I can run commands remotely on several servers at once to gather data. I am missing one part of my script I cant remember.

for name in server1 server2 etc...
do
remsh $name # in quotes from the command line
sleep 1
done
Unix, the other white meat.
2 REPLIES
Highlighted
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: read command line variables

That would be ${*} or ${@}.
If it ain't broke, I can fix that.
Todd McDaniel_1
Honored Contributor

Re: read command line variables

okay thanks, I was having a mental block!!
Unix, the other white meat.