BASH Shell Scripting and UNIX utilities

Our Course Catalouge

Shell scripting is one of the most used programming languages by system administrators and database administrators. Its used to automate many routine SA and DBA tasks. For any system and database administrator, knowledge of shell scripting is a added advantage. At Ahana we have a shell scripting course based on BASH and our tutors themselves were SA's and DBA's and have a very good knowledge.



What we cover


    Day 1


    Background and Introduction to SHELL

  • What is shell
  • Differnt Types of Shell, How to invoke a Shell, Which Shell we using.
  • Why use Shell scripts
  • Getting Started

  • A Simple Script and standard first line
  • Building Blocks of a shell Script - Commands and Arguments, Variables, I/O Redirection, Decisions and Looping
  • Execution Tracking - Simple Debugging
  • Text manipulation - Strings and Files

  • Searching text - grep command family
  • Regular Expressions - powerful string manipulation tool/language
  • BRE - Basic Regular Expression
  • ERE - Extended Regular Expression
  • Streams Editor - sed

    Some test exercises


    Day 2


    Text Manipulation - Fields and Records

  • Using "cut"
  • Using "join"
  • Text manipulation using awk - basics
  • More Text Processing tools

  • Data sorting
  • Use of unix utilities - sort, uniq, wc, fmt, head and tail
  • What are pipes

    Variables

  • Understanding Variables and Shell Environment
  • Exporting variables to environment and setting variables readonly
  • Parameter Expansion
  • Expansion Operators
  • POSIX Operators
  • Positional parameters
  • Special Variables
  • Arithmetic Expansion
  • Some test exercises


    Day 3


    Exit status and exit command

    Decision making

  • "if-elif-else-fi"
  • Logical NOT, AND and OR
  • "test" command and test expression
  • "case" statement
  • Looping

  • "for" loops
  • "while" and "until" loops
  • "break" and "continue"
  • "shift" and option processing
  • Functions

    Some test exercises


    Day 4


    Input/Output, Files and Command Evaluation

  • standard input, output and error
  • Reading lines - "read" command
  • Redirections, redirectional operators and file descriptors
  • Tilde and wildcard filename expansions
  • Command substitution, Quoting, Evaluation order, Shell built in commands
  • Working with Files

  • Understanding filesystems, Directories and files
  • Finding files - "find"
  • Making use of "xargs"
  • Useful Filesystem and file comparison utilities
  • Processes

  • Understanding UNIX processes
  • Creation and listing of processes
  • Controlling and Deletion of Process
  • Trapping process signals
  • Note on Process Accounting
  • Process scheduling - "at" and "cron"
  • /proc filesystem
  • BASH Shell - common Extenstions

    A few words on - Restricted shell, Trojan hourses and setuid/gid scripts


    Q & A

 

Top


Contact Us

Email: contact@ahana.co.in

Call us on
(+91)80 26675891 (India)
(+44)20 7993 8018 (UK)
(+1) 408 416 3150 (US)

Follow Us On

  • Follow us on Twitter
  • Follow us on Facebook
  • Join our Orkut community
  • Ahana Training Group RSS Feed - Subscribe to http://training.ahana.co.in/rss.xml

Chat With Us

Quick Enquiry

Name
Email
Phone
Enquiry Details
    
Pls Enter Above Code and Submit

News & Highlights

  • 100+ individuals completed trainging with us in 2009
  • We completed 15+ corporate trainings in 2009
  • Around 95% of the attendees provided excellent rating in the feedback
    Click here for a snippet of feedback database
  • More than 90% of the freshers have secured a job in IT Infrastructure field with in 6 months of completing some key courses with us