UNIX/LINUX Shell Scripting

UNIX/LINUX Shell Scripting Online Training

UNIX/LINUX Shell Scripting Online Training Hyderabad India

UNIX/LINUX Shell Scripting Course Duration: 10 hrs

Course Content for UNIX/LINUX Shell Scripting:

History of UNIX

  • Features of UNIX
  • Flavors of UNIX
  • Comparison of UNIX with Windows
  • Architecture of UNIX/Linux
  • Shell, Kernel,Tools
  • UNIX File System

Different types of Files

  • Regular Files
  • Directory Files
  • Device Files

Basic Commands

  • pwd, logname, who, finger
  • Exit, date, cal

Creating Users & Groups

  • groupadd, groupdel
  • useradd, userdel

System startup & Shutdown

  • Init, halt, shutdown
  • Different Run levels
  • Different date formats

Working with files

  • cat, touch, rm
  • cp, mv

Working with Directories

  • mkdir, cd, rmdir, rm –r

Displaying files

  • ls, ls options

Comparing Files

  • cmp, diff, comm

File Permissions

  • chmod, chown, chgrp, umask

Searching files

  • find, locate, which

Zipping  files

  • gzip, gunzip

Viewing long files

  • pg, more, head, tail

Regular Expressions & Patterns

  • What is pattern
  • Usage of regular expression
  • Different types of pattern
  • Character pattern
  • Word pattern
  • Line pattern

Tools for Filters

  • grep, grep with options
  • Flat files
  • What are delimiters and its types?
  • Reading and Writing to files

Tools for column data

  • cut, paste

Tools for sorting

  • Sort by lines, Sort by fields
  • Sort with options, uniq

Changing information in files

  • tr, sed

Piping

  • usage of piping
  • piping with filters
  • tee command

Communication Tools

  • write, wall
  • mail, mail with options

Disk status

  • du,  df with options

Job control

  • Foreground jobs, background jobs
  • Killing jobs, nohup

Process status

  • ps , ps with options

Editor Vi

  • 3 modes
  • Command mode
  • Insert mode
  • Ex command mode

Shell Scripting

  • What is shell scripting?
  • Importance of shell scripting
  • Different types of shells
  • Creating shell script
  • Making shell scripting executable

Shell input & output

  • echo, print, read

Backslash character constants Variables

  • What is variable
  • System defined variables
  • Environment files
  • User defined variables
  • Constant variables
  • Local & global variables
  • Special variables

Operators

  • Arithmetic variables
  • Relational numeric operators
  • Logical operators
  • Assignment operators

Conditional statements

  • if, if….else
  • if, elif
  • case

 

Looping

  • while, until, for
  • break, continue

Job scheduling

  • cron
  • at
  • batch

Advance  Shell Scripting

  • What  is shell scriptng
  • Importance of shell scripting
  • Different type of shells
  • Creating shell scripts
  • Executing Shell programs

Constants Variables

  • What is variable
  • System defined variables
  • Environment files
  • User defined variables
  • Constant variables
  • Local & global variables
  • Special variables

Branching and logic testing

Conditional operators

  • Multi-way branching
  • case statement
  • Lab Session

Shell patterns

  • Basic expressions
  • Regular expressions
  • Meta-characters
  • Pattern combinations
  • Using Character Classes
  • The grep and egrep command

Looping statements

  • The ‘while’ loop
  • The ‘until’ loop •
  • The ‘for’ loop
  • Breaking out of a loop and continuing
  • The ‘select’ loop

Introduction to ‘AWK’

  • Record processing
  • Pattern matching and relational expressions
  • Command line arguments
  • Lab Session

Compiling and execution of C and C++ programs