UNIX/SHELL Scripting

Learn how to use Unix & SHELL Scripting from beginner level to advanced techniques which is taught by experienced working professionals. With our Unix & SHELL Scripting Training in Chennai you'll learn concepts in expert level with practical manner.

UNIX/SHELL Scripting

UNIX SHELL Scripting Course Syllabus

Introduction

  • Basics of computer applications
  • Unix Course Introductions
  • Pre-requisites
  • Course Summary

Unix Commands :

Processing & Listing

  • Processes and Directories
  • Displaying Processes – ps
  • Displaying Directories – ls
  • Getting Help - man
  • Simple Commands used for processing
  • Using Wildcards

File Creation and Displaying

  • Creating files – using > symbol
  • Redirection – using >> symbol
  • Redirecting Input – using < symbol
  • Displaying Files – cat, more
  • Piping – using | symbol
  • Word Count
  • Sorting a file
  • Removing duplicates
  • Transliteration
  • Using Head and Tail command in files

Files Handling

  • Creating directory
  • Moving files to directories
  • Copying files to directories
  • Changing directory
  • Removing files and directories
  • Special Files – . and ..
  • Creating Aliases
  • Using Aliases

Cut and Paste

  • Displaying selected characters - using cut
  • Displaying selected fields - using delimiters
  • Displaying selected files - using paste
  • Using paste with delimiters

GREP and EGREP

  • Displaying content of the file using GREP
  • Displaying content of the file using EGREP
  • EGREP Meta-character
  • Back Referencing concepts
  • Using POSIX commands

ZIP & TAR

  • Zipping a file
  • Unzipping a file
  • Combining a set of files using TAR
  • Extracting TAR file
  • Using TAR with ZIP

FIND command

  • Searching for a file – using find
  • Finding List of files and directories
  • Finding Last modified files
  • Find with -exec
  • Find with -xargs

Handling Jobs

  • Using /dev/null
  • Foreground Jobs
  • Background Jobs – &
  • Stopping Jobs - kill
  • Changing Permissions – chmod

Shell Programming

Introduction to Shell

  • Basics of Shell
  • Set and Unset a variable
  • Displaying – using echo
  • Using Expr
  • Using Test
  • Getting input - using read
  • Header file of shell script - using Shabang (#!)
  • Sample Shell script program

Command Substitution

  • Assigning a command to a variable
  • Storing output to a variable
  • Assigning global value - using Export

Command Line Arguments

  • Passing input in runtime.
  • Using input inside a program

Conditional & Looping Statement

  • Using if statement
  • Using if - else statement
  • Using Nested if statement
  • Using 'While' Loop
  • Using 'Until' Loop
  • Using 'For' Loop
  • Using CASE

Functions

  • Creating a function
  • Calling a function in file
  • Calling a function in another file

Advanced Commands

  • SED
  • Replacing values in a file
  • STTY
  • TOP
  • Sending an email - using MAIL
  • HERE

Editors

  • NANO
  • PICO
  • GEDIT
  • Vi Editor
  • AWK
  • Basics of AWK
  • Displaying values - using awk
  • Using awk in Shell script

Scheduler

  • Scheduling a job - using 'Crontab'
  • Scheduling a job - using 'at'
  • Scheduling a job - using 'nohup'

Advanced Shell Scripting

  • Monitoring a file
  • Extracting data from HTMl/XML file
  • Trapping Signals

Database Connectivity

  • Connecting MYSQL to Shell
  • Running SQL queries from Shell Script
  • Generating a report and storing in a file Shopping cart