Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-21-2012, 05:58 PM   #1
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185

Rep: Reputation: 0
Bash: Tutorials

I have decided to step off my current script making as I have all that I need and stopped development on a script I'm copying and trying to improve for my server as I have examined it much closer and have realized I could never improve this enough to make it better right now or even design it more for me because I don't know enough about bash.

I've seen some other post and myself but wanted others who have learned from guides to give me there opinion

Where do you recommend I start learning about bash? Lets say I have no real previous scripting or programming or even markup language experience just because I wanna start at a dummy level because normally I have to start there no matter what. I would like a guide that will teach me as much as possible about everything but getting to things as much as possible from easiest to hardest (usually most guides but i want to make sure it's that way.) Thank you!

Last edited by fatalerror0x00; 11-21-2012 at 06:06 PM.
Old 11-21-2012, 08:53 PM   #2
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
Here's some basic BASH scripting guides:
..and some to save for later:
but just doing stuff is the only way to learn IMHO.

* For some odd reason the first site I saw when searching for scripts was Heiner's SHELLdorado. Copied some scripts, looked at it and kept modifying until I found it was easier to write stuff myself. I've looked up specific stuff but never really "studied" a BASH HOWTO front to back (and yes, I've made mistakes ;-p). I did have to un-learn a lot of Bash-isms later on working with the Heirloom pure Bourne shell. Not saying you should but it's good to be aware of potential compatibility pitfalls. It does help to know the rest of the toolkit you "glue" stuff with and it does help if you've got an itch to scratch but other than that I'd say just do stuff and have fun doing it.

Last edited by unSpawn; 11-21-2012 at 08:55 PM.
1 members found this post helpful.
Old 11-22-2012, 08:45 AM   #3
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled

since you use Slackware, I would recommend that you read (and try to understand) the files in /etc/rc.d/ they are easy to understand, there's no advanced knowledge necessary (mostly).
And when you don't understand a thing, you may take a look at the advanced bash scripting guide which unSpawn already mentioned above.

The manpage for Bash is very! helpful.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash problem : -bash: [: /bin/bash: unary operator expected J.A.X Linux - Software 1 09-22-2011 05:52 AM
[SOLVED] Need tutorials on Bash Scripts T3RM1NVT0R Linux - General 7 08-03-2011 02:38 PM
can anyone recomend good BASH shell scripting tutorials ChrisScott Linux - General 5 11-20-2006 07:38 AM
i want learn bash-script.. i need some resoruces, tutorials.. etc.. hunter_one Linux - General 2 10-29-2003 02:32 PM
Tutorials riyunikenshee Linux - Newbie 4 10-23-2003 02:36 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:34 PM.

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