Receive All Updates via Google+. Just Click The Button Below...

Powered By VybhavaTechnologies
Skip To Continue

Tuesday, December 17, 2013

UNIX and Linux Shell Scripting Orientation

UNIX and Linux Shell Scripting

Designed to provide the essential skills needed to be proficient at the UNIX or Linux Shell scripting. This challenging course focuses on the fundamental concepts and tools which make UNIX so powerful. Students in this course commonly span a variety of skill levels, from beginners desiring a solid foundation in Linux to experienced users seeking to fill in gaps in their knowledge.

  • Developers (Java, PHP, Web)
  • Web Administrators
  • WebLogic Administrators
  • WebSphere Administrators
  • Sysadmins, Linux Beginner
  • Configuration Manager
  • SCM Build & deploy operator

Shell Scripting Course content

  1. UNIX and Linux Basics
    • UNIX Operating System
    • UNIX evolution
    • UNIX and Linux influencers
    • flavors of UNIX
    • Why UNIX?
    • UNIX and Linux features
  2. UNIX shell basics
    • Shell hierarchy
    • Types of Shells
    • Know about Shell
    • Login Shell
    • Why Use Shell Script?
  3. Shell commands
    • Variables and strings
    • Math in Shell
    • Shell commands
  4. Customizing Environment
    • How to Setup Environment?
    • Environment variables
    • The history command options
    • Shortcuts : Defining alias
    • Utility scripting
    • Scoping with export
  5. Shell Programming
    • Program structure
    • Shell variables
    • Quotes - Strings
    • Shell Output
    • Print formatted data
    • Continuing Lines
    • Exit Status
    • Logic using test
    • Expressions
  6. Script Controls
    • Shell script if control
    • Switching with case
    • while: Looping
    • for: Looping with a List
    • break and continue in loops
    • trap: Interrupting a program
    • Debugging Shell Scripts
    • Exercise
  7. Shell functions
    • Function
    • Shell and sub-shell
    • Array in shell
    • File system
    • What's in a (File) name?
    • The Parent-Child Relationship
    • The HOME Variable: The Home Directory
    • Current Directory
    • cd: Changing the Current Directory
    • mkdir: Making Directories
    • rmdir: Removing Directories
    • Absolute Pathnames
    • Relative Pathnames
    • ls: Listing Directory Contents
    • The cat options
    • Compare files
    • Compress files
  8. The UNIX File System

    • Security
    • File permissions
    • Ownership and permissions
    • Common permission with umask
    • Groups and users
    • Switch user
    • Symlink, hard links

  9. Regular Expressions
    • Regular Expression Overview
    • RE Character Classes
    • RE Quantifiers
    • RE Parenthesis
    • RE Examples with grep
    • Re in awk
    • RE in sed
  10. System Resources
    • Disk size df
    • Diskspace utilization du
    • RAM space with top
    • Swap space free
    • CPU uptime
  11. Network
    • telnet and ftp
    • Communication check : finger
    • Remote files : scp, rcp, rsync
    • Download from command wget
    • Upload from command curl
    • Email alerts
    • Remote script : ssh
    • Password less connectivity
    • Introduction and command line syntax
    • The awk program structure
    • Operators
    • Simple patterns
    • Extended patterns
    • Special patterns (BEGIN and END)
    • Program variables: Built-in variables, User defined variables,Arrays
    • Mathematical operators
    • Displaying output with print and printf
    • Exercises: Create awk scripts to extract selected data from a file and generate reports
    • Program control structures
    • The if construct
    • The while and do ... while constructs
    • The basic for construct
    • Associative array handling
    • Functions: Mathematical and string functions, The system function, The getline function, User defined functions
    • Exercises: Create an awk script using an program control structures and arrays
    • Responding to Syntax errors
    • Responding to Logical errors
    • Exercises: Using tools within a shell script

Takeaways from this course

  • Basic concepts such as what is UNIX, Linux, where Linux can used and continue explaining the shell, shell script and kernel
  • Writing simple scripts to enhance basic command output
  • Using the various shell quoting mechanisms appropriately
  • Manipulating shell variables and user-defined variables in scripts
  • Using the shell's built-in Conditional constructs, loop constructs where appropriate
  • Writing scripts to trap user interrupts
  • User defined Functions
  • Developing menu-driven shell scripts
  • Backing up and restoring files with tar, File compression
  • Scheduling background jobs with crontab and at
  • Comparing file contents
  • Splitting files
  • Identifying and translating characters
  • Using of regular expressions, grep, find commands
  • Editing text files with sed
  • Pattern scanning and report generating with awk

Follow by Email