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
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
add comment

5 Answers

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
add comment

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
add comment

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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