Labs on cloud
Bash Shell Scripting
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.
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.
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
Module 1:Bash and Bash scripts
- 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
- Shell built-in commands
- Executing programs from a script
- Building blocks
- Shell building blocks
- Developing good scripts
- Properties of good scripts
- A word on order and logic
- An example Bash script
Module 2:Writing and debugging scripts
- 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
- Shell initialization files
- System-wide configuration files
- Individual user configuration files
- Changing shell configuration files
- 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
- Shell expansion
- Brace expansion
- Tilde expansion
- Shell parameter and variable expansion
- Command substitution
- Arithmetic expansion
- Process substitution
- Word splitting
- File name expansion
- What are aliases?
- Creating and removing aliases
- More Bash options
- Displaying options
- Changing options
Module 4: Regular expressions
- 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
- 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
- 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
- Introduction to if
- 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
- 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
- The for loop
- How does it work?
- The while loop
- What is it?
- The until loop
- What is it?
- I/O redirection and loops
- Input redirection
- Output redirection
- Break and continue
- The break built-in
- The continue built-in
- Making menus with the select built-in
- The shift built-in
- What does it do?
Module 10: More on variables
- Types of variables
- General assignment of values
- Using the declare built-in
- 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
- What are functions?
- Function syntax
- Positional parameters in functions
- Displaying functions
- Examples of functions in scripts
- Setting the path
- Remote backups
Module 12: Catching signals
- Usage of signals with kill
- How Bash interprets traps
- More examples
Enroll for this course now and get ahead in your career.
- 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.
- 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.