Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Real basic question...

Status
Not open for further replies.

Calz

Technical User
Nov 14, 2001
103
0
0
FR
I have a command from a programme that will create a list of servers, I then want to run another command for each server in this list and output to screen or file the result and also include what server from the original list it came from. What's the best way of doing this in ksh?

Also any online resources to get me started in ksh scripting from basics up?
 
have you read the man page for ksh? that should give you a good idea about what you can/can't do in a script.

Code what you mean,
and mean what you code!
But by all means post your code!

Razalas
 
Pretty much worked it out now anyway using for and do :eek:)
Listing the command wouldn't of made much difference as it's a non unix command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top