Re: [newbie] Shell Scripting
http://www.tldp.org/LDP/abs/html/ http://docsrv.caldera.com:8457/en/AdvBashHowto/ This should get you started. Paul Has anyone come accross any good tutorials on the net that teaches shell scripting?? Any pointers would be greatly appreciated. -- I never forget a face, but in your case I'll make an exception. -Groucho Marx http://www.nlpagan.net - Linux Mandrake - Thunderbird 0.3 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Shell Scripting
On Sat, 1 Nov 2003 08:53:23 + David [EMAIL PROTECTED] wrote: Hi Guys, Has anyone come accross any good tutorials on the net that teaches shell scripting?? Any pointers would be greatly appreciated. Regards, Dave rute is on your cds http://www.linuxgazette.com/issue14/bashtip.html http://linux.org.mt/article/terminal http://maththinking.com/boat/languageBooksIndex.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Shell Scripting
On Sat, 1 Nov 2003 08:53:23 + David [EMAIL PROTECTED] wrote: Hi Guys, Has anyone come accross any good tutorials on the net that teaches shell scripting?? Any pointers would be greatly appreciated. Regards, Dave rute is on your cds or http://www.icon.co.za/~psheer/book/index.html.gz http://www.linuxgazette.com/issue14/bashtip.html http://linux.org.mt/article/terminal http://maththinking.com/boat/languageBooksIndex.html http://www.linuxplanet.com/linuxplanet/tutorials/ http://linuxlinks.propagation.net/Beginners/ http://www.linuxdoc.org/HOWTO/Bash-Prog-Intro-HOWTO-5.html http://www.csd.uu.se/~matkin/documents/shell/ Femme Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] shell scripting / aliasing
I'm trying to use the following script, #!/bin/sh !!:s/lpadm/give/ $1 The problem i'm having is accessing the history, i know that this script opens its own shell and references that history, which is why i get a 0:event not found error. What I want to do is reference the history of the current shell, i.e the one in which i run the script. Basically it is setup so, you look at a printing account, ie lpadm issjlk, then you type the script name followed by the number of credits, ie, gi 30. this then gives username issjlk (from the previous command (!!) 30 credits. Any suggestions ?? I am going to do a script that does both lpadm and then the give commands so need for a history command, but it would be useful to know if i can do it the way i wanted to above. Jamie _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com