learning the shell and shell scripting
HI all, I have been using linux for a number of year, but never to its full potential as I have relied upon the GUI. I feel that it is probably time to have a better look at it and learn the shell and the shell scripting. Now, I had a look around the net for a good tutorial for beginners, found an awful lot, but nothing really that explains everything and I was wondering whether you guys have anything to suggest. I got hold of "Linux all in one for dummies", which is quite a comprehensive book, but maybe too much and there isn't that much emphasis on the shell and shell scripting as I would like. I was wondering, what would you guys suggest?
|
Learning
Learning is not like that. If you try to learn everything about the subject in one go, you are more likley to fail and in a way that will discourage you.
Use any of the online primmers or guides for beginners, and make some scripts that are useful and not terribly difficult. Then, when that is easy, figure out ways to make them better, more capable, or perform the smae job in less or faster code. Learn "advanced tricks" as you need them and research and read the more advanced guides with enough experience to make sense of the new ideas. We will still be here to help, and questions are good. |
|
thanks guys, I had a quick look at those links, definitely useful there is an awful lot there! I must admit I forgot to mention something important: generally speaking I'm sure that the logic of the scripts is easy enough but my biggest problem is not knowing enough about linux commands: I mean I use a few "programs" (I think this is what they call them) like ls, chmod, and various other but I think - and please correct me if I am talking rubbish - that learning shell script without knowing that much about what you can accomplish with the terminal isn't gonna work. While I totally agree with wpeckham, don't you guys think that it would be sensible to learn first a few more things with bash in terms of administrative tasks and that kind of stuff before I delve into bash scripting? That's why I suggested that linux book for dummies as one of the possible tutorials. What do you reckon?
|
http://tldp.org/LDP/abs/html/
http://mywiki.wooledge.org/TitleIndex Those are my 2 suggestions and read in that order. As for commands, I really believe that the standard man page for each is more than enough to help. |
well, thank you very much, no doubt I will be asking questions as I learn!
thanks |
ah @grail, do you happen to know if the Advanced Bash-scripting guide is available as a pdf by any chance, so I could bring it with me on my phone and read it where i got no connection?
Ah, it looks like I've found after all :-) and it's definitely a legal copy as there is no copyright, yay! |
@ jazzo
Don't try to learn all in one shot. It is a process that takes time and understanding. I've been writing shell scripts for many years and believe or not, I am still learning because bash gets new features and functions as well as CLI programs with newer options. Start with the basic commands and create simple scripts. Learn and understand how to use variables and use them in your scripts. The more you focus on doing things from the CLI and rely less on the GUI, the better your knowledge of commands and using them in scripts will improve. Next, gradually expand your knowledge and practice, practice, practice. Visit this website http://www.commandlinefu.com/commands/browse and look at some codes. Some will be simple and others will be like WTF is this. I get ideas from this site because some of the codes will be better than mine and it's a good way to learn more stuff. |
Quote:
|
Quote:
Your best option is to convert the pdf file to an epub or a kindle compatible format. The tool is called calibre and it's a cross platform tool for most OSes including linux. Check your distro's repos. Note: Simple pdf's will usually convert well, but more complex pdf's will lose it's formatting like incomplete/misspelled words and stray artifacts in pages. All you can do is try and see the results. Good luck |
thanks for all the great feedback and advices guys, much appreciated :-)!
|
All times are GMT -5. The time now is 03:12 PM. |