Personal tools
You are here: Home Downloads Training SHELL Programming
nrcfoss logo aukbc cdac iit mumbai iit madras ow2 iosn flosscc
india.gov.in
 

SHELL Programming

Introduction to Shell Programming

  • Shell programming objectives
  • Overview
  • Suggested references and reading


UNIX Processes

  • What is a process?
  • Process structure
  • The ps utility
  • Options to the ps utility
  • Background commands (&)
  • Killing background processes
  • Redirecting the standard error


Shell Programming Concepts

  • What is a shell?
  • What is a shell script?
  • Why use shell scripts?


Flow Control

  • The exit status of commands
  • Command line examples
  • The test command
  • The if-then-else construct
  • The elif construct
  • A loop example


Variables

  • User created variables
  • The shell environment
  • The export command
  • Sub-shells
  • Command substitution
  • Quoting mechanisms
  • Assigning variables 


Special Variables

  • Command line arguments
  • $# - Number of arguments
  • The shift command
  • $* - All arguments
  • $$ - PID of shell


More Flow Control 

  • The for loop
  • The while loop
  • The case construct
Document Actions