LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-26-2011, 11:15 AM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
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?
 
Old 09-26-2011, 11:40 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 09-26-2011, 12:19 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by Cultist View Post
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!
 
Old 09-26-2011, 02:08 PM   #4
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
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.
 
Old 09-26-2011, 02:23 PM   #5
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by theKbStockpiler View Post
'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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning how to use Bash Productively bartonski Linux - General 9 11-25-2009 04:24 PM
Need tips for learning 'bash' penguin386 Linux - Newbie 1 05-18-2009 06:58 PM
just started learning linux phobos0001 Linux - Newbie 8 06-10-2007 09:00 AM
Hi guys, need a little help!!!!!Just started learning C MoeedK Programming 4 08-10-2005 07:41 PM
What is the BEST book on learning how to use Bash? Fabyfakid Linux - Newbie 1 08-28-2004 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration