SHELL SCRIPTING

Unix uses shells to accept commands given by the user, there are quite a few different shells available. The most commonly used shells are SH(Bourne SHell) CSH(C SHell) and KSH(Korn SHell), most of the other shells you encounter will be variants of these shells and will share the same syntax, KSH is based on SH and so is BASH(Bourne again shell). TCSH(Extended C SHell) is based on CSH.

The various shells all have built in functions which allow for the creation of shell scripts, that is, the stringing together of shell commands and constructs to automate what can be automated in order to make life easier for the user.

2567 Satisfied Learners
One time class room registraion to click here Fee 1000/-

Clasroom training batch schedules:

Location Day/Duration Date Time Type
Aundh Weekend 16/12/2017 01:00 PM Demo Batch Quick Enquiry
Kharadi Weekday 12/12/2017 07:30 AM New Batch Quick Enquiry

UNIX and Advance Shell Scripting 

Best UNIX/LINUX SHELL Training with 50+ Assignments 

Duration of the Training: 4-5 weekends

UNIX Basics and Shell Scripting

UNIX is a multitasking, multi-user computer operating system that exists in many variants. UNIX is the oldest and most secure operating system architecture present today. Linux/Unix is still used today in a lot of servers. Almost 80% of the websites are running on UNIX servers.

what is  Shell and why shell? 

Every woodworker needs a good, solid, reliable workbench, somewhere to hold work pieces at a convenient height while he or she works them. The workbench becomes the centre of the wood shop, the craftsman returning to it time and time again as a piece takes shape. similarly for any software engineer(Programmer/Tester/Support Eng)  manipulating files of text, programs and for automation , that workbench is the command shell .  

Who should do shell? 

Almost all the Software engineer should learn shell 

Shell Scripting Introduction

Unix uses shells to accept commands given by the user, there are quite a few different shells available. The most commonly used shells are SH(Bourne SHell) CSH(C SHell) and KSH(Korn SHell), most of the other shells you encounter will be variants of these shells and will share the same syntax, KSH is based on SH and so is BASH(Bourne again shell). TCSH(Extended C SHell) is based on CSH.

The various shells all have built in functions which allow for the creation of shell scripts, that is, the stringing together of shell commands and constructs to automate what can be automated in order to make life easier for the user.

For whom UNIX/LINUX is?

In short for everyone, doesn’t matter if you are a developer, manual tester, support professional or Manager, if you are in the IT industry UNIX is must for you!

Why more than 90% of company software’s, web servers run on UNIX OS?

UNIX is the oldest and most secure operating system present today. UNIX architecture is definitely more robust, secure and reliable than that of Windows, All Linux distributions, Free BSD, HP-UX by HP, AIX by IBM, Solaris by Oracle, and Mac OSX by Apple are purely UNIX based operating systems.

Why UNIX is useful (in Trainer words)?

UNIX knowledge is very useful for any IT professionals. People spend lot of time on working on some specific task in Microsoft environment it can be done in a few seconds by using existing UNIX commands, utility or writing a 4 lines of shell script.

UNIX knowledge is necessary. In many fields of the IT business, critical stuff, servers, applications relies on UNIX systems. Many servers/super-computers/appliances/devices/etc have a UNIX core.

UNIX knowledge is not hard. This is by design. That doesn’t mean everyone can be a UNIX guru in a couple weeks, far from that. But all, and by that I mean all, the information you need is available.

UNIX knowledge is efficient. Replacing a 5K LoC application with 3 piped commands, and improving the performances at the same time is always nice.

UNIX knowledge is fun. It’s actually hard to tell you why, but it sure is … in a geeky way. 🙂

Who use UNIX?

  • In Short,  Everyone in IT company and every project

Can I learn UNIX system and shell scripting if I’m not from programming background?

Yes

Anyone can learn UNIX, whether they are from Networking, Administration, manual testing or may be from IT support.

What is the job trend in UNIX?

UNIX, LINUX knowledge essentially require in any job interview.

Whether it’s a Java interview, Informatica, database developer, administrator or manual testing requirement UNIX is must.

Syllabus:

Module-1

Understand the architecture of UNIX.

Understanding the basics of UNIX

File Systems for synchronize storage of files

Details explanation of file attributes

Basic commands and concepts

Command Manuals

Relative and Absolute Paths

Environment variables

Understand parent-child relationship of process and jobs

Basic of editor: vi 

 Module 1 Assignments

Module 2

Shell Introduction

Advantages of the Shell

Executing shell commands

Different types of shell

What is shell Scripting?

Writing basics shell scripts

Interpolation, Types of variables, Operators, read variables, exit status etc

Common commands used in shell script: substitution, quoting,  flow controls, parameters, Shell initialization files,  Quoting characters, Shell expansion,  Aliases

Shell scripting execution

 Module 2 Assignments

Module-3

Special Variables and Parameters

Function Introduction

Understand how functions use as independent building blocks

Scope of variable in functions – local & global

Input/output redirection

Variables substitution in shell

Connect to third party application like: Oracle, FTP etc.

HERE documents

Regular Expressions in detail (use grep, awk, sed)

Industry experience sample scripts debugging

Standard process of writing shell scripts as per company standards.

Module 3 Assignments

Module-4

Important commands and utilities like cut, sort, uniq, grep, find, awk, sed etc

nohup and backend processes

Signals handling and trapping

SED Utility in detail

GREP Utility in detail

FIND Utility in detail

AWK utility in detail

Famous and often use cases with one liner examples

Module 4 Assignments

Module-5

Assigning values to positional parameters

Compress and archive the files

Debug your shell Scripts

Crontab and at utilities for job scheduling

Job scheduling third party tools discussion 

Additional Benefits: 

  • We provide real time scenarios examples, how to work in real time projects
  • We guide for resume preparation by giving sample resume
  • Will give you 2 POC (proof Of Concept) with Data set so that you can practice before going for interview
  • In 4 weeks training we provide study material’s soft copy and hard copy in classroom itself
  • We provide hands –on in class room itself so that you can understand concepts 100%
  • We give assignments for weekdays practice
  • Assignment on each important Topics
  • Interview and resume preparation
  • Discussion on Real Time Scenarios

 

 

 

Here is what you will get and learn by taking this Shell Scripting course:

  • A step-by-step process of writing shell scripts that solve real-world problems.
  • The #1 thing you must do every time you create a shell script.
  • How to quickly find and fix the most common shell scripting errors.
  • For those of you who want to start scripting right away and start automation work to reduce day today human prone errors
  • How to accept input from a user and then make decisions on that input.
  • manipulating Unix filters and understand regex to use sed and awk commands effectively
  • How to use shell expansion facility and  special variables, how to use them in your shell scripts for effective shell script.
  • A shell script creation check list — You’ll never have to guess what to include in each of your shell scripts again. Just use this simple check list to avoid common errors in shell script
  • Real-world examples of shell scripts from experts personal collection.
  • After each section just to make sure you’re learning the most important aspects of shell scripting, we are providing exercise to test learning of each covered section

 

Scope of Shell? 

In today’s enterprise environments, particularly with the advent of “DevOps”, those skills will also translate very well to any script based deployment and management system (Ansible, Chef, Puppet, Salt, etc). it relates to automation and programming (abstraction, encapsulation, logging and debugging). Don’t limit your job searches to just “Bash/Shell Scripting”, but try generic “scripting” and be open to learning those other automation scripting opportunities that you will find. Today all the Banking Captives companies do work on Unix like servers so every project seeks shell scripter every now and then so there is huge openings happened to see for unix shell scripting in these days of automation.

 

Our Courses

Drop A Query