Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-01-2009, 09:55 PM   #1
LQ Newbie
Registered: Sep 2009
Location: Winder, Ga.
Posts: 2

Rep: Reputation: 0
Learning shell commands

I'm a 3 week old newbie that would like to know what's the best way to learn shell commands. Is there a book, web-site or training DVD that makes some of this more clear. I'm in a class right now, but it's a four hour jam session. I'm having trouble retaining all the different commands. I was hoping someone who has gone through the same situation as me might have some words of advise.
Old 10-01-2009, 10:01 PM   #2
LQ Newbie
Registered: Sep 2009
Posts: 29

Rep: Reputation: 20
I recommend looking at the "init" scripts as examples. They tend to have many of the most commonly used conditionals (for, case, etc) and commands. You should have a good idea of what they're supposed to do (start and stop services), which should make them relatively easy to read through and understand.

If you're intent on having a book, the O'Reilly "Cookbooks" are generally useful.
Old 10-01-2009, 10:06 PM   #3
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Rep: Reputation: 40
are you looking to learn shell scripting or all the command-line tools in Linux. If the former, then google for 'advanced BASH scripting' book. It's free and very thorough.

If the former, look for the oReilly book called Linux in a Nutshell.
Old 10-02-2009, 04:36 AM   #5
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
The "advanced bash scripting guide" is a very valid resource not only for scripting. You'll learn all the basic commands, and it's perfectly suitable for a beginner regardless of what the title says.
Old 10-02-2009, 04:52 AM   #6
Registered: Jun 2009
Location: NYC
Posts: 262

Rep: Reputation: 59
I dunno, I've always considered Advanced Bash Scripting to be pretty poor for the beginner. It starts with various scripts, little or no explanation of why, basically, similar to far too much Linux documentation. It's always difficult to find the proper balance between how and why, especially as some people do better at understanding the how after learning the why and others understand the why, once they learn the how.

Everyone learns in different ways, and the others who have posted here disagree. Obviously, you have to decide for yourself what you find useful.

The Advanced guide can be useful, but I fear that I don't share others' high opinion of it.

The Rute book, listed above, is, IMHO, excellent.

I also like

I have my own little page of links that *I* found useful when first trying to figure it out. For what it's worth...


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
Learning commands for CLI in Ubuntu Gutsy zambonibutt Linux - Newbie 2 10-26-2007 12:53 PM
LXer: Learning About Linux Commands LXer Syndicated Linux News 0 08-25-2006 05:54 PM
Alias or shell script to confirm 'exit' commands from a shell rose_bud4201 Programming 2 03-08-2006 03:34 PM
Quick question: Learning commands Kami.JZ Linux - Newbie 4 10-24-2004 05:14 PM
learning in-depth terminal commands hildog Linux - Newbie 2 09-30-2003 02:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:54 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