LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3972/0)
Reviews (626/0)
Press Releases (464/0)
Distributions (187/0)
Software (807/0)
Hardware (522/0)
Security (192/0)
Tutorials (337/0)
Off Topic (180/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events



Coming out of your shell   
Tuesday, May 10 2005 @ 12:15 PM EDT
Contributed by: glosser

LinuxWorld offers up this intro tutorial on shell scripting.

Much more powerful than a Windows batch file, shell scripts can be used to run multiple tasks. Here's a brief introduction.

One of the underlying attractions of the Linux operating system is the power given to users through the shell. This month I'll introduce you to the Linux shell and give some examples of how you can use Linux more efficiently with an introduction to shell scripting.

Linux shell scripting

Before we jump in to the deep end of shell scripting, some background may be helpful. The shell is the interface between you and your computer. A shell is the first program executed when you log in and everything you run, including the GUI, is run within a shell. To access a shell under a GUI, you will need to start a Terminal, or an XTerm as they are traditionally known.

The shell is normally interactive; that is, you enter a command and it is executed straight away and the results returned to you. It is possible to group several commands together in a plain text file, known as a shell script. When this text file is executed, the commands contained within are executed in sequential order. This concept is similar to a batch file under Windows, however as you will see, Linux shell scripts are much more powerful than their Windows counterparts.

Full tutorial

  [ Views: 1360 ]  


Coming out of your shell | 0 comments | Create New Account
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No user comments.


What's Related
  • Full tutorial
  • More by glosser
  • More from Tutorials


  • Story Options
  • Mail Story to a Friend
  • Printable Story Format


  • We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, and SQL.

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved