Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am a beginner to shell scripting. I have not yet hardly coded a single program, but I am interested in learning it completely. Can anyone suggest some good online resources which will guide me?

share|improve this question

closed as primarily opinion-based by Patrick, Anthon, jasonwryan, Michael Homer, bdowning Jul 21 at 9:49

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Can you specify a bit what you want to do? There is too much to read for an entire lifetime based on the current question. –  l0b0 Mar 15 '11 at 12:00

6 Answers 6

This answer focuses on Bash.

Probably the advanced bash scripting guide can help you. It has even be translated to French (on traduc.org).

Also read the pitfalls and the FAQ from Greg's wiki.

share|improve this answer
    
+1 advanced bash scripting is a great resource –  Let_Me_Be Mar 15 '11 at 13:09
    
ABS is great, but maybe not the place to start learning for a complete beginner. –  chris Mar 15 '11 at 16:14

The best free source for shell scripting I've seen so far: http://fog.ccsf.cc.ca.us/~gboyd/cs160b/online/index.html

share|improve this answer

You can check out this site: Writing Shell Scripts. Things have been explained in a very simple language, and the flow is quite good.

share|improve this answer

There is an upcoming blog about unix and shell. The commands are explained in simple manner. You can try it:

http://learnshell.blogspot.com/

share|improve this answer
    
Welcome to Unix & Linux Stack Exchange! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  slm Feb 16 at 1:09

It is probably worth you while reading the man page for bash (type man bash at your prompt) as it covers quite a lot of useful information in a concise manner. Also look at some of the other man pages such as test (used with if... while... statments), awk and sed. You will find other tutorials probably easier or more useful to read as a beginner, but you will definitely come back to the man pages regularly so it helps to get to know them.

My Ubuntu shell has a program called vimtutor which looks useful for learning vi.

share|improve this answer

Here is a Bash Scripting Tutorial which is good if you are a beginner. If you are new to the Linux command line here is a Linux tutorial which is also good for the beginner.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.