SlideShare a Scribd company logo
www.tekclasses.com +91-8970005497/+91-7411642061 info@tekclasses.com / contact@tekclasses.com
UNIX SHELLSCRIPTING TRAINING
DURATION
30hrs
AVAILABLE BATCHES
WEEKDAYS (7.30AM TO 8.30AM) & WEEKENDS (10AM TO 1PM)
MODE OF TRAINING AVAILABLE
ONLINE INSTRUCTOR LED
CLASSROOM TRAINING (MARATHAHALLI, BANGALORE)
SELF PACED VIDEOS
No. 249, 3rd
Floor, Chirag Towers,
Above Born Babies, Outer Ring Road, Marathahalli,
Bangalore – 560037
Landmark – Next to Kalamandir Showroom
Email Contact Number Website
info@tekclasses.com +91-7411642061 www.tekclasses.com
contact@tekclasses.com +91-8970005497
www.tekclasses.com +91-8970005497/+91-7411642061 info@tekclasses.com / contact@tekclasses.com
This course is designed to learn shell scripting. First you will be learning concepts and at last you will be
Writing lot of shell scripts to get confidence in you in order to write shell scripts.
1) Basic of UNIX Commands
2) Shell Programming
 When to use Shell Script
 The First Shell Script
 Shell Variables
 Shell Keywords
 Tips and Traps
 Unchanging Variables
 Wiping out Variables
 Positional Parameters
 Passing Command Line Arguments
 Displaying date in desired Format
 Arithmetic in Shell Script
3) Taking Decisions
 The if-then-fi statement
 The if-then-else-fi Statement
 The test Command
o File test
o String test
 Nested if-else
 use of Logical Operators
 Case Control Structure
4) Loops is Shell Scripting
 Loops
 The While loop
 The until loop
 For loop
 nesting of loops
 break statement
 continue statement
5) Functions in Shell Scripting
 Writing Function
www.tekclasses.com +91-8970005497/+91-7411642061 info@tekclasses.com / contact@tekclasses.com
 Nesting of Function
 Executing Multiple Scripting
 Use of Sed,awk
6) Shell Scripts Examples
1) Write a shell program to find out whether an input integer is even or odd?
2) Write a shell script to find out the greatest value among three input values.
3) Write a shell script to calculate the net salary of an employee in a particular month considering
Various allowances (TA , DA,HRA) and deduction (INCOME TAX, Provident Fund) as:
a) TA=15% of basic salary
b) DA=2% of basic salary
c) HRA=10% of basic salary
D) Income tax=5 % of basic salary
e) Provident fund is 10% of basic salary
4) A departmental store announces its festival schema to customer on cash payment. The Scheme is as
follow:
a) if purchase amount is less than 1000 then tax=2% and discount=10%
b) if purchase amount is greater than 1000 then tax=5% and discount=20%
5) write a program to find out the length of an input string.
6) Write a program to find out an input year is leap year or not.
7) Write a shell script to concatenate contents of 2 files in another file.
8) Generate a table of an input integer.
9) Write Shell Script to find out factorial on an input.
10) Write a shell program to generate a series of even number from 0 to n. n is given by user. (e.g.
0,2,4,6,8,10...n)
11) Write a shell program to check whether an input number is a prime or not.
12) Write a shell program to read an integer and print its digits in reverse order.
13) Write a shell script to print the character of an input string into reverse order.
14) Write a shell program to find out the location of an input character into an input string.
15).Write a shell program to count the number of characters, words, lines and spaces in a given file.
16) Write a shell program to print Fibonacci series.
www.tekclasses.com +91-8970005497/+91-7411642061 info@tekclasses.com / contact@tekclasses.com
17) Write a program to remove all words that occur more than once in a list.
18) Write shell script to take backup off your all script files.
19) Write a shell script that asks for the capital of India and repeats the question until user gives the
right answers. (Enter capital in lower-case).
20) Shell Program for How to connect with Oracle Database through Script.
21) Write a shell Program to swap value of two variables using 3rd variable.
22) Write a shell program to swap value of two variables without using 3rd Variable.

More Related Content

PPTX
film institution
PPTX
State Bank of India
PPT
Product Pricing
PDF
PC DOORS CLOSED
PDF
HUM Consulting
PPT
Live wtcc russia 7 june 2015
DOCX
Taller practico tic
film institution
State Bank of India
Product Pricing
PC DOORS CLOSED
HUM Consulting
Live wtcc russia 7 june 2015
Taller practico tic

Viewers also liked (7)

PDF
EGS Testimonial - CSR
PDF
PNN and inversion-B
PPTX
Micro c lab7(timers)
PPTX
Sk sivik 2015 cpage
PPTX
Andriod Presentation
PPTX
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
PDF
Grundlagen des CRM
EGS Testimonial - CSR
PNN and inversion-B
Micro c lab7(timers)
Sk sivik 2015 cpage
Andriod Presentation
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
Grundlagen des CRM
Ad

Similar to Unix Shell Scripting Tutorial | Unix Shell Scripting Online Training (20)

PDF
Solution manual of shell programming assignment 2
PDF
Operating_System_Lab_ClassOperating_System_2.pdf
DOCX
Basic shell programs assignment 1
PDF
Shell Scripting Intermediate - RHCSA+.pdf
PPTX
Shell Programming Language in Operating System .pptx
DOCX
Shell programming assignment 2
PDF
BASH Shell Scripting – Part II
PPT
Shell programming
DOCX
of 70UNIX Unbounded 5th EditionAmir Afzal .docx
DOCX
of 70UNIX Unbounded 5th EditionAmir Afzal .docx
DOCX
32 shell-programming
DOCX
What is a shell script
PDF
Unix Shell Script
PPT
Operating system (remuel)
PPTX
Shell & Shell Script
PPTX
Shell & Shell Script
PPT
PPTX
Unix shell scripting basics
PPT
Unix shell scripting basics
Solution manual of shell programming assignment 2
Operating_System_Lab_ClassOperating_System_2.pdf
Basic shell programs assignment 1
Shell Scripting Intermediate - RHCSA+.pdf
Shell Programming Language in Operating System .pptx
Shell programming assignment 2
BASH Shell Scripting – Part II
Shell programming
of 70UNIX Unbounded 5th EditionAmir Afzal .docx
of 70UNIX Unbounded 5th EditionAmir Afzal .docx
32 shell-programming
What is a shell script
Unix Shell Script
Operating system (remuel)
Shell & Shell Script
Shell & Shell Script
Unix shell scripting basics
Unix shell scripting basics
Ad

Recently uploaded (20)

PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
PPTX
How to Manage Global Discount in Odoo 18 POS
PDF
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
PDF
Types of Literary Text: Poetry and Prose
DOCX
UPPER GASTRO INTESTINAL DISORDER.docx
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
vedic maths in python:unleasing ancient wisdom with modern code
PPTX
An introduction to Dialogue writing.pptx
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
PPTX
Presentation on Janskhiya sthirata kosh.
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
PDF
5.Universal-Franchise-and-Indias-Electoral-System.pdfppt/pdf/8th class social...
PPTX
Odoo 18 Sales_ Managing Quotation Validity
PDF
Module 3: Health Systems Tutorial Slides S2 2025
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
PDF
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
PPTX
An introduction to Prepositions for beginners.pptx
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
How to Manage Global Discount in Odoo 18 POS
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Types of Literary Text: Poetry and Prose
UPPER GASTRO INTESTINAL DISORDER.docx
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
vedic maths in python:unleasing ancient wisdom with modern code
An introduction to Dialogue writing.pptx
NOI Hackathon - Summer Edition - GreenThumber.pptx
Presentation on Janskhiya sthirata kosh.
Week 4 Term 3 Study Techniques revisited.pptx
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
The Final Stretch: How to Release a Game and Not Die in the Process.
Skill Development Program For Physiotherapy Students by SRY.pptx
5.Universal-Franchise-and-Indias-Electoral-System.pdfppt/pdf/8th class social...
Odoo 18 Sales_ Managing Quotation Validity
Module 3: Health Systems Tutorial Slides S2 2025
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
An introduction to Prepositions for beginners.pptx

Unix Shell Scripting Tutorial | Unix Shell Scripting Online Training

  • 1. www.tekclasses.com +91-8970005497/+91-7411642061 [email protected] / [email protected] UNIX SHELLSCRIPTING TRAINING DURATION 30hrs AVAILABLE BATCHES WEEKDAYS (7.30AM TO 8.30AM) & WEEKENDS (10AM TO 1PM) MODE OF TRAINING AVAILABLE ONLINE INSTRUCTOR LED CLASSROOM TRAINING (MARATHAHALLI, BANGALORE) SELF PACED VIDEOS No. 249, 3rd Floor, Chirag Towers, Above Born Babies, Outer Ring Road, Marathahalli, Bangalore – 560037 Landmark – Next to Kalamandir Showroom Email Contact Number Website [email protected] +91-7411642061 www.tekclasses.com [email protected] +91-8970005497
  • 2. www.tekclasses.com +91-8970005497/+91-7411642061 [email protected] / [email protected] This course is designed to learn shell scripting. First you will be learning concepts and at last you will be Writing lot of shell scripts to get confidence in you in order to write shell scripts. 1) Basic of UNIX Commands 2) Shell Programming  When to use Shell Script  The First Shell Script  Shell Variables  Shell Keywords  Tips and Traps  Unchanging Variables  Wiping out Variables  Positional Parameters  Passing Command Line Arguments  Displaying date in desired Format  Arithmetic in Shell Script 3) Taking Decisions  The if-then-fi statement  The if-then-else-fi Statement  The test Command o File test o String test  Nested if-else  use of Logical Operators  Case Control Structure 4) Loops is Shell Scripting  Loops  The While loop  The until loop  For loop  nesting of loops  break statement  continue statement 5) Functions in Shell Scripting  Writing Function
  • 3. www.tekclasses.com +91-8970005497/+91-7411642061 [email protected] / [email protected]  Nesting of Function  Executing Multiple Scripting  Use of Sed,awk 6) Shell Scripts Examples 1) Write a shell program to find out whether an input integer is even or odd? 2) Write a shell script to find out the greatest value among three input values. 3) Write a shell script to calculate the net salary of an employee in a particular month considering Various allowances (TA , DA,HRA) and deduction (INCOME TAX, Provident Fund) as: a) TA=15% of basic salary b) DA=2% of basic salary c) HRA=10% of basic salary D) Income tax=5 % of basic salary e) Provident fund is 10% of basic salary 4) A departmental store announces its festival schema to customer on cash payment. The Scheme is as follow: a) if purchase amount is less than 1000 then tax=2% and discount=10% b) if purchase amount is greater than 1000 then tax=5% and discount=20% 5) write a program to find out the length of an input string. 6) Write a program to find out an input year is leap year or not. 7) Write a shell script to concatenate contents of 2 files in another file. 8) Generate a table of an input integer. 9) Write Shell Script to find out factorial on an input. 10) Write a shell program to generate a series of even number from 0 to n. n is given by user. (e.g. 0,2,4,6,8,10...n) 11) Write a shell program to check whether an input number is a prime or not. 12) Write a shell program to read an integer and print its digits in reverse order. 13) Write a shell script to print the character of an input string into reverse order. 14) Write a shell program to find out the location of an input character into an input string. 15).Write a shell program to count the number of characters, words, lines and spaces in a given file. 16) Write a shell program to print Fibonacci series.
  • 4. www.tekclasses.com +91-8970005497/+91-7411642061 [email protected] / [email protected] 17) Write a program to remove all words that occur more than once in a list. 18) Write shell script to take backup off your all script files. 19) Write a shell script that asks for the capital of India and repeats the question until user gives the right answers. (Enter capital in lower-case). 20) Shell Program for How to connect with Oracle Database through Script. 21) Write a shell Program to swap value of two variables using 3rd variable. 22) Write a shell program to swap value of two variables without using 3rd Variable.