All tricks in this blog are only for educational purpose. Learn these tricks only for your knowledge. Please donot try these to harm any one. We will not take any responsibility in any case. All softwares and tools on this site are here for private purposes only and If you want to use a software for business purpose, please purchase it. I do not host many of these tools. I Post links that I have found from numerous Search engines. I will not be responsible for any of harm you will do by using these tools.


Thursday, September 23, 2010

Linux Shell Scripting Tutorial Ver. 1.0

This tutorial is designed for beginners only and This tutorial explains the basics of shell programming by showing some examples of shell programs. Its not help or manual for the shell. While reading this tutorial you can find manual quite useful (type man bash at $ prompt to see manual pages). Manual contains all necessary information you need, but it won’t have that much examples, which makes idea more clear. For that reason, this tutorial contains examples rather than all the features of shell. I assumes you have at least working knowledge of Linux i.e. basic commands like how to create, copy, remove files/directories etc or how to use editor like vi or mc edit and login to your system.

Before Starting Linux Shell Script Programming you must know Kernel q Shell q Process q Redirectors, Pipes, Filters etc. q What’s Kernel Kernel is hart of Linux O/S. It manages resource of Linux O/S. Resources means facilities available in Linux. For eg. Facility to store data, print data on printer,memory, file management etc . Kernel decides who will use this resource, for how long and when. It runs your programs (or set up to execute binary files) It’s Memory resident portion of Linux. It performance following task :-I/O management q Process management q Device management q File management q Memory management q What’s Linux Shell Computer understand the language of 0’s and 1’s called binary language, In early days of computing, instruction are provided using binary language, which is difficult for all of us, to read and write. So in O/s there is special program called Shell. Shell accepts your instruction or commands in English and translate it into computers native binary language. You type Your command and shell convert it asIt’s environment provided for user interaction. Shell is an command language interpreter that executes commands read from the standard input device(keyboard) or from a file. Linux may use one of the following most popular shells(In MS-DOS, Shell name is COMMAND.COM which is also used for same purpose,but it’s not as powerful as our Linux Shells are!)Shell Name Developed by Where Remark BASH ( Bourne-Again SHell )Brian Fox and Chet Ramey Free Software Foundation Most common shell in Linux.

Download Linux Shell Scripting Tutorial Ver. 1.0.


Post a Comment