The Best Shell Scripting Online Training With Certification

Page 1

Shell Script Online Training


Shell Script Introduction  Objectives  Course Schedule  Course Introductions  Pre-requisites  Bibliography  Delegate Responsibilities  Course Summary


Shell Script Review of Basics – optional  Files  Directories and Processes  Displaying Directories – ls  Getting Help – man  Displaying Files – cat, more  Simple Commands  Piping – using | symbol  Redirection – using > symbol  Redirection – using >> symbol  Redirecting Input – using < symbol  Redirecting Errors


Shell Script Shell Programming: Shell Scripting Online Training  Creating Shell Scripts  Testing the Command  Creating the Script File  Adding Execute Permissions  Testing the Script  Running the Script – time  Running the Script – dot  Running the Script – exec  Running the Script – ksh  Debugging the Script


Shell Script ď‚— If you have ever opened a book on programming, you

would immediately recognize this as the traditional "Hello World" program. Save your file with some descriptive name. How about my_script? ď‚— The first line of the script is important. This is a

special clue given to the shell indicating what program is used to interpret the script. In this case, it is /bin/bash. Other scripting languages such as perl, awk, tcl, Tk, and python can also use this mechanism.


Shell Script A shell script is a text file that contains a sequence of commands for a UNIX-based operating system. It's called a shell script because it combines into a "script" in a single file a sequence of commands that would otherwise have to be presented to the system from a keyboard one at a time.


Shell Script


Shell Script Creating Menus  Conditions – case  Creating a Menu  Iteration – while, until  Holding the Output – sleep  Holding the Output – dummy read  Ending the Script  Ending the Loop  Hidden Option – forking a shell  Trapping Interrupts – trap


Thank You By Smart Mind Online Training Contact Us:

India:+91 9949599844 USA :+1-347-606-2716 Email:contact@smartmindonlinetraining.com


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.