View previous topic :: View next topic |
Author |
Message |
lowbatt Tux's lil' helper
Joined: 13 Jul 2002 Posts: 83
|
Posted: Fri Jul 19, 2002 12:17 am Post subject: Simple scripts to automate task's Need help |
|
|
I'm looking for a good site on how to make a simple script to automate something.
Like if i type foo and i want it to run 3 things in a certain order first.
If ya see what I mean. _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Fri Jul 19, 2002 12:22 am Post subject: |
|
|
From the main gentoo page theres a link to "articles" from there you'll se a bash programming howto. its really simple actually. alot like an MS-DOS .bat file but alot more powerful. |
|
Back to top |
|
|
lowbatt Tux's lil' helper
Joined: 13 Jul 2002 Posts: 83
|
Posted: Fri Jul 19, 2002 12:23 am Post subject: |
|
|
Man I feel dumb now *heads off to main site* _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
Back to top |
|
|
lowbatt Tux's lil' helper
Joined: 13 Jul 2002 Posts: 83
|
Posted: Fri Jul 19, 2002 12:40 am Post subject: |
|
|
ok I see a guide about RC scripts and init scripts but either I'm missing the point or im not looking in the wrong spot. Can maybe I get a link " _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Fri Jul 19, 2002 12:43 am Post subject: |
|
|
well, the articles page links to all 4 parts of the bash article, so I wont bother with a link, just look again, its #4 Under Daniel Robbins "Bash by Example" |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Fri Jul 19, 2002 12:46 am Post subject: |
|
|
ok I have 199 posts right now so I'm gonna post here one more time just to see if I step out of apprentice yet
Sorry for the spam |
|
Back to top |
|
|
lowbatt Tux's lil' helper
Joined: 13 Jul 2002 Posts: 83
|
Posted: Fri Jul 19, 2002 12:47 am Post subject: |
|
|
ok i found it thanks for the help! _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Fri Jul 19, 2002 12:48 am Post subject: |
|
|
No Problem..... dang, still apprentice. |
|
Back to top |
|
|
KiTaSuMbA Guru
Joined: 28 Jun 2002 Posts: 430 Location: Naples Italy
|
Posted: Fri Jul 19, 2002 1:20 am Post subject: |
|
|
Other than the gentoo site, there is a very nice (and COMPLETE) HOW-TO: The Advanced Bash Programming HOW-TO (or its sucessor, the advanced bash scripting Guide [url] http://www.tldp.org/guides.html#abs [/url] )
You can also search the linux documentation project site ( [url] www.tldp.org [/url]) for any additional bits of info.
Hope this helps a little
If you get down to any specific trouble, I, and I'm sure quite a few other people, will be glad to help you. _________________ Need to flame people LIVE on IRC? Join #gentoo-otw on freenode! |
|
Back to top |
|
|
|