Operating System - Linux
1752805 Members
5694 Online
108789 Solutions
New Discussion юеВ

Re: 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 2
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.