Shell Scripting Tutorials


  • Bourne Shell Programming
  • Bash by example, Part 1
  • Bash by example, Part 2
  • Awk Tutorial

    Sample Shell Scripts


    Example 0: Get Started
    Example 1: Print tokens in a line
    Example 2: Read a file line-by-line
    Example 2.1: Increment a variable using 'expr'
    Example 3: 'awk' example
    Example 4: Remove "Cntl-M" from a given file
    Example 5: Keep track of users every 20 seconds
    Example 6: List all files in all subdirectories recursively