ONLINE TRAINING
SHELL SCRIPTING INTRODUCTION: Objectives Course Schedule Course Introductions Pre-requisites Bibliography Delegate Responsibilities Course Summary
SHELL SCRIPTING
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
SHELL SCRIPTING
Special Characters and Variables Quotation Marks Quoted Strings – “, ‘ Escape Character – * Quoted Strings – ` Using $(…) System Variables – set Other Special Variables User Variables User Variables – unset Variables in Scripts
SHELL SCRIPTING What is Shell Scripting: 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 SCRIPTING
SHELL SCRIPTING Being a Linux user means you play around with the command-line. Like it or not, there are just some things that are done much more easily via this interface than by pointing and clicking. The more you use and learn the command-line, the more you see its potential. Well, the command-line itself is a program: the shell. Most Linux distros today use Bash, and this is what you’re really entering commands into.
SHELL SCRIPTING
SHELL SCRIPTING ď ˝
ď ˝
Unix uses shells to accept commands given by the user, there are quite a few different shells available. The most commonly used shells are SH(Bourne SHell) CSH(C SHell) and KSH(Korn SHell), most of the other shells you encounter will be variants of these shells and will share the same syntax, KSH is based on SH and so is BASH(Bourne again shell). TCSH(Extended C SHell) is based on CSH. The various shells all have built in functions which allow for the creation of shell scripts, that is, the stringing together of shell commands and constructs to automate what can be automated in order to make life easier for the user.
SHELL SCRIPTING
BY
Smart Mind Online Training Contact: Smart Mind Online Training India:+91 9949599844 USA :+1-347-606-2716 E mail: contact@smartmindonlinetraining.com