16

I am interested in learning shell script ompletely. Can anyone suggest some good online resources?

Rui F Ribeiro
  • 56,709
  • 26
  • 150
  • 232
oldrock
  • 279
  • 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 Answers6

9

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.

Benoit
  • 381
4

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

Kevin
  • 40,767
Craab
  • 51
3

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

Barun
  • 2,376
2

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

http://learnshell.blogspot.com/

Swa
  • 21
  • 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 '14 at 01:09
1

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.

Ryan
  • 11
1

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.

jasonwryan
  • 73,126
adam f
  • 129