Bash

bash-cover

Successsful Careeer

RSTForum has trained more than 100,000 students to date. Many students have gone on to successful careers in a variety of industries, while others have harnessed the entrepreneurial spirit and knowledge they acquired in RST Forum to start their own businesses and create new jobs.

Labs on cloud

RSTForum uses Cloud computing to efficiently provide “Platform As A Service” (PAAS) to its students enabling them to quickly access Technology Racks over the internet and practice lab exercise from home These Racks are populated with latest equipment's required for practical exercises'.

Web Forums

RST Forum’s web based forum allows its users to ask, hundreds of technical experts about their technology and certification problem. RST forum is a tight knit community of working professionals that provide timely help on technical, certification and design related queries.

Bash Shell Scripting

Introduction

Bash Shell Scripting Training allows professionals to drive more power from a Linux operating system. Shell scripts combine to act as batch files, and are used for customization, automation, enhancement of performance and remote task management. Learn to create and debug complex scripts to automate operations and ease out your Linux administration load.Shell Scripts are supported by Unix and Linux OS. This course will greatly enhance your skills and capabilities as a Linux power user. RST FORUM offers this course for professionals who have working knowledge of Linux or equivalent experience. This course is full of examples that will encourage you to write your own and that will inspire you to improve on existing scripts.

BASH have evolved into full-featured programming languages with efficient built-in modern constructs for superior string handling, decision-making, arithmetic and post processing. This hands-on course provides the skills you need to write reusable, robust shell scripts to extend the user environment and automate complex administrative tasks.

Course Highlights

This 4 days (Weekdays – 8hrs.) OR 4-weeks (Sunday/Saturday) instructor led BASH course is designed to provide professionals with extensive networking knowledge to accomplish their day to day job and BASH certifications. The key to a high success rate is based on the program’s objectives as follows:

  • Course contents are based on BASH guidelines
  • Dedicated Monitoring to evaluate candidates’ progress
  • Extensive hands-on lab exercises
  • Regular evaluation
  • Industry Experienced Certified instructors
  • This module is designed to meet the objective of the BASH program.
  • The course is customized keeping in mind the ultimate aim of achieving technology expertise and BASH certification.
  • Assigned project manager will manage this program and drive the program from its registration stage to monitoring and tracking of the candidates’ performance.
  • The Instructor-led certified course is designed for the BASH candidates with an aim to build theoretical knowledge supplemented by ample hands-on lab exercises.
  • 4 weeks or 4 days, of intensive training.
  • Courseware includes course kits and other reference material to enable students to prepare for BASH certification exams.
  • Optimal balance of theory classes and practical labs every week to ensure maximum absorption of technology by participants.
  • Customized tests at the end of course to be attempted by every participant.
  • Stringent passing standards with progress report of each participant.
  • Facility of Lab on cloud available.(based on booking).
  • Repeating of lectures allowed.
Course Objectives

Upon completing this course, students will be able to:

  • Understanding the shell structure and its environment
  • Learning the key features and fundamentals of bash scripting
  • Carrying out arithmetic operations in a shell script
  • Creating interactive scripts
  • Incorporating different functionalities including flow control and decision making
  • Understanding and implementing various functions
Course Topics

Module 1:Bash and Bash scripts

Lesson

  • Common shell programs
  • General shell functions
  • Shell types
  • Advantages of the Bourne Again Shell
  • Bash is the GNU shell
  • Features only found in bash
  • Executing commands
  • General
  • Shell built-in commands
  • Executing programs from a script
  • Building blocks
  • Shell building blocks
  • Developing good scripts
  • Properties of good scripts
  • Structure
  • Terminology
  • A word on order and logic
  • An example Bash script

 

Module 2:Writing and debugging scripts

Lesson

  • Creating and running a script
  • Writing and naming
  • Executing the script
  • Script basics
  • Debugging Bash scripts
  • Debugging on the entire script
  • Debugging on part(s) of the script

 

Module 3: The Bash environment

 

Lesson

  • Shell initialization files
  • System-wide configuration files
  • Individual user configuration files
  • Changing shell configuration files
  • Variables
  • Types of variables
  • Creating variables
  • Exporting variables
  • Reserved variables
  • Special parameters
  • Script recycling with variables
  • Quoting characters
  • Escape characters
  • Single quotes
  • Double quotes
  • ANSI-C quoting
  • Locales
  • Shell expansion
  • General
  • Brace expansion
  • Tilde expansion
  • Shell parameter and variable expansion
  • Command substitution
  • Arithmetic expansion
  • Process substitution
  • Word splitting
  • File name expansion
  • Aliases
  • What are aliases?
  • Creating and removing aliases
  • More Bash options
  • Displaying options
  • Changing options

 

Module 4: Regular expressions

 

Lesson

  • Regular expressions
  • What are regular expressions?
  • Regular expression metacharacters
  • Basic versus extended regular expressions
  • Examples using grep
  • What is grep?
  • Grep and regular expressions
  • Pattern matching using Bash features
  • Character ranges

 

Module 5. The GNU sed stream editor

 

Lesson

  • Introduction
  • What is sed?
  • sed commands
  • Interactive editing
  • Printing lines containing a pattern
  • Deleting lines of input containing a pattern
  • Ranges of lines
  • Find and replace with sed
  • Non-interactive editing
  • Reading sed commands from a file
  • Writing output files

 

Module 6: The GNU awk programming language

 

Lesson

  • Getting started with gawk
  • What is gawk?
  • Gawk commands
  • The print program
  • Printing selected fields
  • Formatting fields
  • The print command and regular expressions
  • Special patterns
  • Gawk scripts
  • Gawk variables
  • The input field separator
  • The output separators
  • The number of records
  • User defined variables
  • More examples
  • The printf program

 

Module 7: Conditional statements

 

Lesson

  • Introduction to if
  • General
  • Simple applications of if
  • More advanced if usage
  • if/then/else constructs
  • if/then/elif/else constructs
  • Nested if statements
  • Bash Guide for Beginners
  • Boolean operations
  • Using the exit statement and if
  • Using case statements
  • Initscript example

Module 8: Writing interactive scripts

 

Lesson

  • Interactive or not?
  • Using the echo built-in command
  • Catching user input
  • Using the read built-in command
  • Prompting for user input
  • Redirection and file descriptors
  • File input and output

Module 9: Repetitive tasks

 

Lesson

  • The for loop
  • How does it work?
  • Examples
  • The while loop
  • What is it?
  • Examples
  • The until loop
  • What is it?
  • Example
  • I/O redirection and loops
  • Input redirection
  • Output redirection
  • Break and continue
  • The break built-in
  • The continue built-in
  • Examples
  • Making menus with the select built-in
  • General
  • Submenus
  • The shift built-in
  • What does it do?
  • Examples

 

Module 10: More on variables

 

Lesson

  • Types of variables
  • General assignment of values
  • Using the declare built-in
  • Constants
  • Array variables
  • Creating arrays
  • Dereferencing the variables in an array
  • Deleting array variables
  • Examples of arrays
  • Operations on variables
  • Arithmetic on variables
  • Length of a variable
  • Transformations of variables

Module 11: Functions

 

Lesson

  • Introduction
  • What are functions?
  • Function syntax
  • Positional parameters in functions
  • Displaying functions
  • Examples of functions in scripts
  • Recycling
  • Setting the path
  • Remote backups

Module 12: Catching signals

 

Lesson

  • Signals
  • Introduction
  • Usage of signals with kill
  • Traps
  • General
  • How Bash interprets traps
  • More examples
Lab Topics

Enroll for this course now and get ahead in your career.

Course Fees:

Enroll Now

Virtual Classroom

  • Instructor led online training is an ideal vehicle for delivering training to individuals anywhere in the world at any time.
  • This innovative approach presents live content with instructor delivering the training online.
  • Candidates will be performing labs remotely on our labs on cloud in presence of an online instructor.
  • Rstforum uses microsoft lync engine to deliver instructor led online training.
  • Advances in computer network technology, improvements in bandwidth, interactions, chat and conferencing, and realtime audio and video offers unparalleled training opportunities.
  • Instructor led online training can helps today’s busy professionals to perform their jobs and upgrade knowledge by integrating self-paced instructor led online training in their daily routines.

Miscellaneous

  • Minimum batch size required for batch is 10 participants in the this course.
  • The RST Forum reserves the right to cancel/postpone the class.
  • Course schedule will be provided before commencement of the course.
  • Certificate of participation will be awarded to participants with a minimum 90% attendance.
  • All attendees are to observe the Copyright Law on intellectual properties such as software.
  • and courseware from respective vendors.
  • The RST Forum reserves the right to include external participants in the program either for the entire course or individual courses.
  • The RST Forum reserves the right to change/alter the sequence of courses. RST FORUM published Book would be given at 50% discounted rate to the forum students.