Guest chotie Posted August 20, 2003 Report Share Posted August 20, 2003 Hello! I am trying to find pages where i can learn shell scripting in mandrake. Any suggestion are very appreciated!! :) Thanks for helping... Br, Christian O. chot@home.se Quote Link to comment Share on other sites More sharing options...
tyme Posted August 20, 2003 Report Share Posted August 20, 2003 I suggest this: http://www6.uniovi.es/linux/LDP/abs/html/ but a google for "bash shell scripting" should turn up more than enough results. Quote Link to comment Share on other sites More sharing options...
Guest chotie Posted August 20, 2003 Report Share Posted August 20, 2003 I will go over that one. Thank you for helping! :) Another question: Are there anything about mandrake specific command anywhere? Br, Christian O. chot@home.se Quote Link to comment Share on other sites More sharing options...
tyme Posted August 20, 2003 Report Share Posted August 20, 2003 you won't find _too_ many mandrake-specific commands, but your best bet is to find out what command you want to use and do ye ol' man <command> to see what it does. Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted August 20, 2003 Report Share Posted August 20, 2003 or do some googling on bash scripting and look at what others have written and then do further googling on specific commands to learn how it works (plus man of course) Quote Link to comment Share on other sites More sharing options...
Guest chotie Posted August 22, 2003 Report Share Posted August 22, 2003 Christian O. Quote Link to comment Share on other sites More sharing options...
Gowator Posted August 22, 2003 Report Share Posted August 22, 2003 chotie: As with any programming the best way to learn IMHO is just by doing it.... First off do a serch on here for (g)Aru's (the G is for guru) scripts.... Find one that looks interesting and then take it apart.... Anybits you don't understand use your good friend MAN .... Then think of something useful you wanna achive.... it might be say parsing a log file, automate a mail collection or whatever makes you tick..... Then try applying bits of code you find to do this. As a suggestion how about http://www.mandrakeusers.org/viewtopic.php?t=7144 The important thing is to do something you think is useful. First just get it to do it.... whateverway works then you can look at making it neater. If you post it here we'll all pull it apart and suggest alternatives.... But don't worry ... its the trying that counts ... you only get better with practice and learning some obscure bits :D Personally, Id say the most imoprtant parts are learning inheritnace and how to manipulate envvar's. The scruipt by Aru illustrates both very nicely. See http://www.mandrakeusers.org/viewtopic.php...ght=inheritance To show why not to be scared of mistakes see Aru's correction to one of my posts ... http://www.mandrakeusers.org/viewtopic.php...ght=inheritance And the accolade when I get it right :D http://www.mandrakeusers.org/viewtopic.php...%20aru&start=15 hehe Getting a 100% on this from (g)Aru is like ... wow (looks for expanding head emoticon and gives up) So, don't be scared to try stuff out.... if it reacts unexpectedly then post bits and everyone will help out. Once you have a good footing you can pick up a book, I think O'Reilly do a good one on learning BUT An excellent resource is UNIX power tools.... This is mainly nice neat scripts ... some are VERY COOL. . Quote Link to comment Share on other sites More sharing options...
Guest chotie Posted August 26, 2003 Report Share Posted August 26, 2003 Thank you for your tips and hints. I am digging into it!! :) Br, Christian O. chot@home.se Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.