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.
Ad

Recommended

film institution
film institution
holly_bondg321
 
State Bank of India
State Bank of India
Sonali Srivastava
 
Product Pricing
Product Pricing
Sonali Srivastava
 
HUM Consulting
HUM Consulting
Pranavi Santi
 
Live wtcc russia 7 june 2015
Live wtcc russia 7 june 2015
dale_deyn
 
Taller practico tic
Taller practico tic
JOHANNA MOSQUERA
 
PNN and inversion-B
PNN and inversion-B
Stig-Arne Kristoffersen
 
Micro c lab7(timers)
Micro c lab7(timers)
Mashood
 
Sk sivik 2015 cpage
Sk sivik 2015 cpage
Abu Bakar
 
Andriod Presentation
Andriod Presentation
PrakashSoft
 
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
Empired
 
Grundlagen des CRM
Grundlagen des CRM
Lisa Bouikidou
 
The best unix shell scripting interview questions 2018 learn now!
The best unix shell scripting interview questions 2018 learn now!
mia avery
 
best notes in c language
best notes in c language
India
 
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
faithxdunce63732
 
Assignment 2
Assignment 2
usman mehmood
 
Oop lab assignment 01
Oop lab assignment 01
Drjilesh
 
Print the string Hello World.pptx
Print the string Hello World.pptx
VishwasBGowda
 
C++ Lab Maual.pdf
C++ Lab Maual.pdf
Thejeswara Reddy
 
C++ Lab Maual.pdf
C++ Lab Maual.pdf
ShivamParjapati2
 
M150 A Fall2010 T01
M150 A Fall2010 T01
abdalodainat
 
Shell script assignment 3
Shell script assignment 3
Kuntal Bhowmick
 
Cp manual final
Cp manual final
itprasad1237
 
Bis 311 final examination answers
Bis 311 final examination answers
RandalHoffman
 
c++ referesher 1.pdf
c++ referesher 1.pdf
AnkurSingh656748
 
Solution manual of shell programming assignment 2
Solution manual of shell programming assignment 2
Kuntal Bhowmick
 
C - Programming Assignment 1 and 2
C - Programming Assignment 1 and 2
Animesh Chaturvedi
 

More Related Content

Viewers also liked (7)

PNN and inversion-B
PNN and inversion-B
Stig-Arne Kristoffersen
 
Micro c lab7(timers)
Micro c lab7(timers)
Mashood
 
Sk sivik 2015 cpage
Sk sivik 2015 cpage
Abu Bakar
 
Andriod Presentation
Andriod Presentation
PrakashSoft
 
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
Empired
 
Grundlagen des CRM
Grundlagen des CRM
Lisa Bouikidou
 
Micro c lab7(timers)
Micro c lab7(timers)
Mashood
 
Sk sivik 2015 cpage
Sk sivik 2015 cpage
Abu Bakar
 
Andriod Presentation
Andriod Presentation
PrakashSoft
 
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
Empired
 

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

The best unix shell scripting interview questions 2018 learn now!
The best unix shell scripting interview questions 2018 learn now!
mia avery
 
best notes in c language
best notes in c language
India
 
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
faithxdunce63732
 
Assignment 2
Assignment 2
usman mehmood
 
Oop lab assignment 01
Oop lab assignment 01
Drjilesh
 
Print the string Hello World.pptx
Print the string Hello World.pptx
VishwasBGowda
 
C++ Lab Maual.pdf
C++ Lab Maual.pdf
Thejeswara Reddy
 
C++ Lab Maual.pdf
C++ Lab Maual.pdf
ShivamParjapati2
 
M150 A Fall2010 T01
M150 A Fall2010 T01
abdalodainat
 
Shell script assignment 3
Shell script assignment 3
Kuntal Bhowmick
 
Cp manual final
Cp manual final
itprasad1237
 
Bis 311 final examination answers
Bis 311 final examination answers
RandalHoffman
 
c++ referesher 1.pdf
c++ referesher 1.pdf
AnkurSingh656748
 
Solution manual of shell programming assignment 2
Solution manual of shell programming assignment 2
Kuntal Bhowmick
 
C - Programming Assignment 1 and 2
C - Programming Assignment 1 and 2
Animesh Chaturvedi
 
Work Environment Paper
Work Environment Paper
Emily Jones
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 sol
IIUM
 
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
ABDULAHAD507571
 
Successfully Implement Responsive Design Behavior with Adobe Experience Manager
Successfully Implement Responsive Design Behavior with Adobe Experience Manager
Perficient, Inc.
 
I PUC CS Lab_programs
I PUC CS Lab_programs
Prof. Dr. K. Adisesha
 
The best unix shell scripting interview questions 2018 learn now!
The best unix shell scripting interview questions 2018 learn now!
mia avery
 
best notes in c language
best notes in c language
India
 
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
faithxdunce63732
 
Oop lab assignment 01
Oop lab assignment 01
Drjilesh
 
Print the string Hello World.pptx
Print the string Hello World.pptx
VishwasBGowda
 
M150 A Fall2010 T01
M150 A Fall2010 T01
abdalodainat
 
Shell script assignment 3
Shell script assignment 3
Kuntal Bhowmick
 
Bis 311 final examination answers
Bis 311 final examination answers
RandalHoffman
 
Solution manual of shell programming assignment 2
Solution manual of shell programming assignment 2
Kuntal Bhowmick
 
C - Programming Assignment 1 and 2
C - Programming Assignment 1 and 2
Animesh Chaturvedi
 
Work Environment Paper
Work Environment Paper
Emily Jones
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 sol
IIUM
 
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
ABDULAHAD507571
 
Successfully Implement Responsive Design Behavior with Adobe Experience Manager
Successfully Implement Responsive Design Behavior with Adobe Experience Manager
Perficient, Inc.
 
Ad

Recently uploaded (20)

Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
Nice Dream.pdf /
Nice Dream.pdf /
ErinUsher3
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Introduction to problem solving Techniques
Introduction to problem solving Techniques
merlinjohnsy
 
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
BINARY files CSV files JSON files with example.pptx
BINARY files CSV files JSON files with example.pptx
Ramakrishna Reddy Bijjam
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
How to Manage Multi Language for Invoice in Odoo 18
How to Manage Multi Language for Invoice in Odoo 18
Celine George
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
Arshad Shaikh
 
Revista digital preescolar en transformación
Revista digital preescolar en transformación
guerragallardo26
 
Measuring, learning and applying multiplication facts.
Measuring, learning and applying multiplication facts.
cgilmore6
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
The Man In The Back – Exceptional Delaware.pdf
The Man In The Back – Exceptional Delaware.pdf
dennisongomezk
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
Non-Communicable Diseases and National Health Programs – Unit 10 | B.Sc Nursi...
Non-Communicable Diseases and National Health Programs – Unit 10 | B.Sc Nursi...
RAKESH SAJJAN
 
Exploring Ocean Floor Features for Middle School
Exploring Ocean Floor Features for Middle School
Marie
 
“THE BEST CLASS IN SCHOOL”. _
“THE BEST CLASS IN SCHOOL”. _
Colégio Santa Teresinha
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
Nice Dream.pdf /
Nice Dream.pdf /
ErinUsher3
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Introduction to problem solving Techniques
Introduction to problem solving Techniques
merlinjohnsy
 
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
BINARY files CSV files JSON files with example.pptx
BINARY files CSV files JSON files with example.pptx
Ramakrishna Reddy Bijjam
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
How to Manage Multi Language for Invoice in Odoo 18
How to Manage Multi Language for Invoice in Odoo 18
Celine George
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
Arshad Shaikh
 
Revista digital preescolar en transformación
Revista digital preescolar en transformación
guerragallardo26
 
Measuring, learning and applying multiplication facts.
Measuring, learning and applying multiplication facts.
cgilmore6
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
The Man In The Back – Exceptional Delaware.pdf
The Man In The Back – Exceptional Delaware.pdf
dennisongomezk
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
Non-Communicable Diseases and National Health Programs – Unit 10 | B.Sc Nursi...
Non-Communicable Diseases and National Health Programs – Unit 10 | B.Sc Nursi...
RAKESH SAJJAN
 
Exploring Ocean Floor Features for Middle School
Exploring Ocean Floor Features for Middle School
Marie
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Ad

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.