Scripting
- From: "Calab" <myspam@xxxxxx>
- Date: Mon, 31 Dec 2007 04:01:43 GMT
Looking to create a small script that will process the output of one command
and run another command
Output looks like this
38914 - system1 online -
38915 - system1 online -
38922 - system1 online -
11013 - system2 offline -
21914 - system3 busy -
21916 - system3 busy -
20355 - system4 offline -
If I recieved the above output, I'd want to run the following commands
syscheck system2
syscheck system4
This should be simple to do, but I've not got a clue how to script on a
Linux PC.
Any pointers? Suggestions?
Thanks!
.
- Follow-Ups:
- Re: Scripting
- From: Chris Elvidge
- Re: Scripting
- Prev by Date: Re: problem installing ubuntu 7.10 - mouse
- Next by Date: Re: Scripting
- Previous by thread: problem installing ubuntu 7.10 - mouse
- Next by thread: Re: Scripting
- Index(es):
Relevant Pages
|