LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-01-2009, 08:55 PM   #1
edenracer
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, 09:01 PM   #2
reickler
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, 09:06 PM   #3
gmartin
Member
 
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-01-2009, 10:09 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
some links
http://rute.2038bug.com/rute.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.linuxcommand.org/index.php
and this one is a must
http://www.oreillynet.com/linux/cmd/
then there is
http://www.shell-fu.org/
 
Old 10-02-2009, 03:36 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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, 03:52 AM   #6
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 263

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
http://steve-parker.org/sh/sh.shtml


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


http://home.roadrunner.com/~computer...scripting.html
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:25 PM.

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