Re: [newbie] Re: Script
Here are a few of them that I've gone back to and toyed with from time to time. -- Basica walk through http://www.linuxnewbie.org/nhf/intel/programming/introbashscript.html -- Another basica HOW-TO http://www.pxh.de/fs/svcd/index.html -- And my favorite, how to add colors to your scripts output! :') http://www.linuxgazette.com/issue65/padala.html Check those out. tdh -- T. Holmes | UNIXTECHS.org | [EMAIL PROTECTED] | UIN: 17021091 | Jesse Angell wrote: | > | > Thanks, that did just what I wanted. | Does anyone on the list have a URL to a guide on how to script? | | I ask as I am interested in doing many things automatically and can't | ask you guys to right the scripts for me. | | Thanks | -- | === | Hylton Conacher on KDE 2.1.1 on kernel 2.4.3-20mdk#1 | Registered Linux user # 229959 on Mandrake 8 on an i686 (AMD 1 Ghz K7 | mobo | Licenced Windows user | === | | | | Want to buy your Pack or Services from MandrakeSoft? | Go to http://www.mandrakestore.com `--- -- T. Holmes | UNIXTECHS.org | [EMAIL PROTECTED] | UIN: 17021091 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Re: Script
"Hylton Conacher (ZR1HPC)" wrote: > > Jesse Angell wrote: > > > > Thanks, that did just what I wanted. > Does anyone on the list have a URL to a guide on how to script? > > I ask as I am interested in doing many things automatically and can't > ask you guys to right the scripts for me. > > Thanks > http://www.csd.uu.se/~matkin/documents/shell/ http://rute.sourceforge.net/rute.html Those are what I've seen so far. Rute seems fairly good. Haven't tried the first one yet. Femme -- Good Decisions You boss Made: "We'll do as you suggest and go with Linux. I've always liked that character from Peanuts." - Source: Dilbert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Re: Script
On Sat, 2002-03-30 at 12:02, Olly P wrote: > Hi Jesse ...Search for abs-guide-1.1.tar.gzit is a really good > bashscript guide with loads of example scriptsit is worth finding. > > sorry I don't remember where I got it? The URL for the Advanced Bash-Scripting Guide is: http://www.linuxdoc.org/LDP/abs/html/index.html And, the direct download link for the complete guide is: http://personal.riverusers.com/~thegrendel/abs-guide-1.1.tar.gz Regards, SpeedMan signature.asc Description: This is a digitally signed message part
Re: [newbie] Re: Script
On Saturday 30 March 2002 08:35, you typed: > Jesse Angell wrote: > > Thanks, that did just what I wanted. > > Does anyone on the list have a URL to a guide on how to script? -- Saturday 30 March 2002 -- 11:57hrs cst Hi Jesse ...Search for abs-guide-1.1.tar.gzit is a really good bashscript guide with loads of example scriptsit is worth finding. sorry I don't remember where I got it? -- Olly P. Biloxi Mississippi Linux MDK 8.0 2.4.3-20 mdk-Kmail 2.1.120G IBM Deskstar ATX Plll 600mhz Asus CUBX ...384m Crucial PC133ram Sat Mar 30 12:01:30 EST 2002 UNIX is hot. It's more than hot. It's steaming. It's quicksilver lightning with a laserbeam kicker. -- Michael Jay Tucker 12:01pm up 1 day, 2:02, 2 users, load average: 0.00, 0.00, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Re: Script
On Saturday 30 March 2002 08:35 am, Hylton Conacher (ZR1HPC) wrote: > Jesse Angell wrote: > > Thanks, that did just what I wanted. > > Does anyone on the list have a URL to a guide on how to script? > > I ask as I am interested in doing many things automatically and can't > ask you guys to right the scripts for me. > > Thanks http://www.linuxdoc.org/HOWTO/Bash-Prog-Intro-HOWTO.html Bill Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Re: Script
Hylton Conacher (ZR1HPC) wrote: > Does anyone on the list have a URL to a guide on how to script? See http://twiki.org/cgi-bin/view/Wikilearn/LinuxResources -- there is at least one link there related to scripting. If you find any better links, add them (or let me know). Randy Kramer Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Re: Script
Jesse Angell wrote: > > Thanks, that did just what I wanted. Does anyone on the list have a URL to a guide on how to script? I ask as I am interested in doing many things automatically and can't ask you guys to right the scripts for me. Thanks -- === Hylton Conacher on KDE 2.1.1 on kernel 2.4.3-20mdk#1 Registered Linux user # 229959 on Mandrake 8 on an i686 (AMD 1 Ghz K7 mobo Licenced Windows user === Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Re: Script
Thanks, that did just what I wanted. - Original Message - From: "SoloCDM" <[EMAIL PROTECTED]> To: "Jesse Angell" <[EMAIL PROTECTED]> Cc: "Linux-Mandrake Newbie" <[EMAIL PROTECTED]> Sent: Friday, March 29, 2002 7:12 PM Subject: Re: Script > Jesse Angell stated the following: > > > > I need this script to do the following things, in order to start > > some clients palace servers It simply stops after the first user > > what the problem > > > > #!/bin/sh > > > > su angeleyez ; /home/angeleyez/palaceserver/bin/start-palace ; exit > > su digitalfantasy ; > > /home/digitalfantasy/palaceserver/bin/start-palace ; exit > > su j323k41j4 ; /home/j323k41j4/palaceserver/bin/start-palace ; exit > > su redbaron ; /home/redbaron/palaceserver/bin/start-palace ; logout > > su staticfx ; /home/staticfx/palaceserver/bin/start-palace ; exit > > su zach ; /home/zach/palaceserver/bin/start-palace ; exit > > Take off " ; exit" and " ; logout" from the end of each line. Remove > "; " before each directory. Now put -c before each directory. > > su -c > > If you are using a command line with spaces, put single quotes around > the command or multiple commands, unless you are using variables, then > use double quotes. > > Using sudo is a waste of time. > > -- > Note: When you reply to this message, please include the mailing > list/newsgroup address and my email address in To:. > > * > Signed, > SoloCDM > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Re: Script
Jesse Angell stated the following: > > I need this script to do the following things, in order to start > some clients palace servers It simply stops after the first user > what the problem > > #!/bin/sh > > su angeleyez ; /home/angeleyez/palaceserver/bin/start-palace ; exit > su digitalfantasy ; > /home/digitalfantasy/palaceserver/bin/start-palace ; exit > su j323k41j4 ; /home/j323k41j4/palaceserver/bin/start-palace ; exit > su redbaron ; /home/redbaron/palaceserver/bin/start-palace ; logout > su staticfx ; /home/staticfx/palaceserver/bin/start-palace ; exit > su zach ; /home/zach/palaceserver/bin/start-palace ; exit Take off " ; exit" and " ; logout" from the end of each line. Remove "; " before each directory. Now put -c before each directory. su -c If you are using a command line with spaces, put single quotes around the command or multiple commands, unless you are using variables, then use double quotes. Using sudo is a waste of time. -- Note: When you reply to this message, please include the mailing list/newsgroup address and my email address in To:. * Signed, SoloCDM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com