Scripting ITRONIX CERTIFIED

Shell Scripting Industrial Training

 

  1. History of UNIX
  2. Features of UNIX
  3. Flavors of UNIX
  4. Comparison of UNIX with Windows
  5. Architecture of UNIX
  6. UNIX File System

Different types of Files

  1. Regular Files
  2. Directory Files
  3. Device Files

Basic Commands

  1. pwd, logname, who, finger
  2. Exit, date, cal

Creating Users & Groups

  1. groupadd, groupdel
  2. useradd, userdel

System startup & Shutdown

  1. Init, halt, shutdown
  2. Different Run levels
  3. Different date formats

Working with files

  1. cat, touch, rm
  2. cp, mv

Working with Directories

  1. mkdir, cd, rmdir, rm –r

Standard Input & Output

  1. Redirecting output
  2. Redirecting Input

Comparing Files

  1. cmp, diff, comm

Searching files

  1. find, locate, which

Zip files

  1. gzip, gunzip

Displaying files

  1. ls, ls options

Viewing long files

  1. pg, more, head, tail

File Permissions

  1. chmod, chown, chgrp, umask

Meta/Wild Card-characters

  1. Class:-,[],[^]
  2.  Anchors:^,$,\<,\>
  3. Repetition:*,?,+
  4.  Alteration:|
  5.  Dot: .

Regular Expressions & Patterns

  1. What is pattern
  2. Usage of regular expression
  3. Different types of pattern
  4. Character pattern
  5. Word pattern
  6. Line pattern

Tools for Filters

  1. grep, grep with options
  2. Flat files
  3. What are delimiters and its types?
  4. Reading and Writing to files
  5. Tools for column data
  6. cut, paste

Tools for sorting

  1. Sort by lines, Sort by fields
  2. Sort with options, uniq

Changing information in files

  1. tr, sed

Piping

  1. usage of piping
  2. piping with filters
  3. tee command

Communication Tools

  1. write, wall
  2. mail, mail with options

Disk status

  1. du,  df with options

Job control

  1. Foreground jobs, background jobs
  2. Killing jobs, nohup

Process status

  1. ps , ps with options

Editor Vi

  1. 3 modes
  2. Command mode
  3. Insert mode
  4.  Ex command mode

Shell Scripting

  1. What is shell scripting?
  2. Importance of shell scripting
  3. Different types of shells
  4. (sh,bash,ksh,csh,zsh,tcsh)
  5. Creating shell script
  6. Making shell scripting executable
  7. Shell input & output
  8. echo, print, read

Backslash character constants

aliases

Variables

  1. What is variable
  2. System defined variables
  3. Environment files
  4. User defined variables
  5. Constant variables
  6. Local & global variables
  7. Special variables

Operators

  1. Arithmetic variables
  2. Relational numeric operators
  3. Logical operators
  4. Assignment operators
  5. Range opeerator

Conditional statements

  1. if, if….else
  2. if, elif
  3. case

Looping

  1. while, until, for
  2. break, continue

File test commands

String test commands

exit & sleep commands

Command line arguments

  1. Usage of COA
  2. What is $0, S#, $*, $@, $? , $$

Job scheduling

  1. cron
  2. at
  3. batch
  1. Differences between shell and Perl python ruby scripts.
  2. Awk concepts