Solved

Unix shell scripting tutorial

Posted on 2008-10-29
6
512 Views
Last Modified: 2013-12-26
Before I googling around, do you know any tutorial web site for Unix shell scripting? I am looking for having some hands-on. Thx
0
Comment
Question by:netdoc01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 19

Accepted Solution

by:
jools earned 100 total points
ID: 22833258
Loads of resources;

Not many specific references to sh but most *nix's are usually linked to a posix or bash shell anyway and whilst there are differences you're not likely to get caught out too much.

http://www.freeos.com/guides/lsst/
http://ooblick.com/text/sh/
http://tldp.org/LDP/abs/html/
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 200 total points
ID: 22833479
0
 

Author Comment

by:netdoc01
ID: 22834456
Thanks for the links. It is certainly helpful and I will go through them.
I am new to Unix shell scripting and I see that there are a lot of technologies available for shell scripting. Which ones are the most common. Thanks
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
LVL 29

Assisted Solution

by:pepr
pepr earned 100 total points
ID: 22834960
You should know some of the shell dialects at least passively. However, it is not that difficult. On the other hand, I believe that--these days--it is more usefull to use one of some more general "scripting" languages. I would personally recommend you to learn Python (http://www.python.org/).

Python was designed as a practical and pragmatic language. It is considered to be very readable, easy to learn, suitable also for beginners. In my opinion, it has one of the most clean syntax and semantics of the like languages, including shell languages.

Python distribution contains also plenty of modules. Some of them (os, shutil) can be used easily for replacing the shell languages means and the unix-like one-purpose utilities -- having even similar names.

Python is available for all usually used OSes and the scripts/programs can be easily written in a portable way. Simple things can be written simply. Your short scripts may finally grow to full featured applications, including GUI.
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 200 total points
ID: 22841441
shell is the command interpreter. There are different shells on unix systems like

sh / ksh / bash and they from one family in the sense that sh is a subset of ksh, etc.

csh / tcsh

http://www.mcsr.olemiss.edu/unixhelp/shell/oview2.html
http://www.faqs.org/faqs/unix-faq/shell/shell-differences/
http://www.softlab.ntua.gr/facilities/documentation/unix/shelldiff.html
http://en.wikipedia.org/wiki/Unix_shell
 
0
 

Assisted Solution

by:nemoshudo
nemoshudo earned 100 total points
ID: 22897751
A beginner's handbook about programming shell:
http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeatures/lsst/
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background Still having to process all these year-end "csv" files received from all these sources (including Government entities), sometimes we have the need to examine the contents due to data error, etc... As a "Unix" shop, our only readily …
Dictionaries contain key:value pairs. Which means a collection of tuples with an attribute name and an assigned value to it. The semicolon present in between each key and values and attribute with values are delimited with a comma.  In python we can…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question