You are not logged in.
Hello there.
I'm by no way a programmer. In fact, even when I'm using GNU/Linux (in almost any flavor/hardware I can think of) since 2005, it has been always sporadically, and in counted cases I felt a conducting line between my experiencies. One of those cases was when I tried to learn Bash a couple of years ago. Mostly, I readed Bash Guide for Begginers, of Matchtelt Garrels.
I'm really excited because now I've the time, resources and motivation to do it again, and I would like to hear some comments on it, advices, and specifically recommendations of online and "offline" material to take with me on this journey =]
Thanks in advance!
Last edited by JMO (2011-02-28 12:17:27)
Offline
See much better suggestions in posts below.
Last edited by Wintervenom (2011-03-01 07:54:44)
Offline
Offline
I do not recommend the infamous TLDP guide for someone just starting out with Bash.
Offline
I do not recommend the infamous TLDP guide for someone just starting out with Bash.
+1, I had to pretty much forget everything I learned from that site and start again. Use the last two links, this and wooledge.
Last edited by freak (2011-02-28 15:32:59)
Offline
Definitely worth looking at. For instance, Bash Pitfalls.
Try not to conflate “bash” with “Bourne shell.” Not all platforms have bash. Not all platforms that have bash have it at /bin/sh, or even /bin/bash. Try to stick to portable Bourne shell unless you really need a bash feature. (Debian had this problem when they switched /bin/sh to dash: Dash As /bin/sh)
Offline
Try not to conflate “bash” with “Bourne shell.” Not all platforms have bash. Not all platforms that have bash have it at /bin/sh, or even /bin/bash. Try to stick to portable Bourne shell unless you really need a bash feature. (Debian had this problem when they switched /bin/sh to dash: Dash As /bin/sh)
I knew that, but never give it a thought... Are that much differences on learning Bourne Shell against Bourne Again Shell, otherwise than some features?
Last edited by JMO (2011-03-01 20:19:45)
Offline
Anthony Bentley wrote:Try not to conflate “bash” with “Bourne shell.” Not all platforms have bash. Not all platforms that have bash have it at /bin/sh, or even /bin/bash. Try to stick to portable Bourne shell unless you really need a bash feature. (Debian had this problem when they switched /bin/sh to dash: Dash As /bin/sh)
I knew that, but never give it a thought... Should it be that much differences on learning Bourne Shell against Bourne Again Shell, otherwise than some features?
If you employ "some features" that only shell X has, the script won't work in any other shell. Bash is de facto standard shell in Linux world while dash is (more or less) de jure standard shell.
Offline
I realize that...
Well, thanks for the advice
Offline
Plenty of great guides to choose from. I think it's best to try and develop a script that you could find useful, and learn bash as you go along. It's easier to keep yourself motivated when you have a goal in sight.
TOMOYO Linux: Mandatory Access Control.
My AUR packages
Offline