Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Unix shell scripting tutorial

Posted on 2008-10-29
6
Medium Priority
?
524 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
6 Comments
 
LVL 19

Accepted Solution

by:
jools earned 400 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 800 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
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
LVL 29

Assisted Solution

by:pepr
pepr earned 400 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 800 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 400 total points
ID: 22897751
A beginner's handbook about programming shell:
http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeatures/lsst/
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The purpose of this article is to demonstrate how we can use conditional statements using Python.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

877 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