LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   learning bash, where to get started? (https://www.linuxquestions.org/questions/linux-general-1/learning-bash-where-to-get-started-905087/)

Cultist 09-26-2011 11:15 AM

learning bash, where to get started?
 
I'm wanting to start learning bash scripting, and I'm looking for a good place to start. Wondered if anyone has any good experience with a particular or website? I have some experience with python, but that's the extent of my programming/scripting knowledge.

And everything I find online seems to call itself a Unix scripting book/guide/whatever. Is Unix bash identical to Linux bash?

TobiSGD 09-26-2011 11:40 AM

For beginners: http://linuxcommand.org/index.php
More advanced: http://tldp.org/LDP/abs/html/

Bash is the same as Bash, regardless of the underlying OS. Just keep in mind that programs that you run from bash (for example the find command) may have differences between the platforms.

onebuck 09-26-2011 12:19 PM

Hi,

Quote:

Originally Posted by Cultist (Post 4482677)
I'm wanting to start learning bash scripting, and I'm looking for a good place to start. Wondered if anyone has any good experience with a particular or website? I have some experience with python, but that's the extent of my programming/scripting knowledge.

And everything I find online seems to call itself a Unix scripting book/guide/whatever. Is Unix bash identical to Linux bash?

I like to recommend links 2,3,4,5,6 below. Rute(2) is a good tutorial to start out with familiarization of cli commands and other Gnu/Linux functionality. These links are to aid you to gaining some understanding;



1 Linux Documentation Project
2 Rute Tutorial & Exposition
3 Linux Command Guide
4 Bash Beginners Guide
5 Bash Reference Manual
6 Advanced Bash-Scripting Guide
7 Linux Newbie Admin Guide
8 LinuxSelfHelp
9 Utimate Linux Newbie Guide
10 Linux Home Networking

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

theKbStockpiler 09-26-2011 02:08 PM

By far the best BASH guide I know of.
 
'Teach Yourself Shell Programming in 24 Hours' The majority of it is comprehensive and the rest is worth paraphrasing yourself. It's not going to be the only bash reference you need but is defiantly worth reading. It might be available to view on html files from the publishers site or you can buy the book.

Reuti 09-26-2011 02:23 PM

Quote:

Originally Posted by theKbStockpiler (Post 4482809)
'Teach Yourself Shell Programming in 24 Hours'

I want to second this. I recommend this book repeatedly to students. It’s also worth to type in the short examples.

Afterwards also the man page of bash, awk and sed can be checked as it’s easier to understand them, when you have already some foundation.


All times are GMT -5. The time now is 11:29 PM.