SlideShare a Scribd company logo
1 of 4
Download to read offline
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

Viewers also liked (7)

EGS Testimonial - CSR
EGS Testimonial - CSREGS Testimonial - CSR
EGS Testimonial - CSR
 
PNN and inversion-B
PNN and inversion-BPNN and inversion-B
PNN and inversion-B
 
Micro c lab7(timers)
Micro c lab7(timers)Micro c lab7(timers)
Micro c lab7(timers)
 
Sk sivik 2015 cpage
Sk sivik 2015 cpageSk sivik 2015 cpage
Sk sivik 2015 cpage
 
Andriod Presentation
Andriod PresentationAndriod Presentation
Andriod Presentation
 
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
Dynamics Day 2016  - Microsoft Dynamics 365 the future of DynamicsDynamics Day 2016  - Microsoft Dynamics 365 the future of Dynamics
Dynamics Day 2016 - Microsoft Dynamics 365 the future of Dynamics
 
Grundlagen des CRM
Grundlagen des CRMGrundlagen des CRM
Grundlagen des CRM
 

Similar to Unix Shell Scripting Tutorial | Unix Shell Scripting Online Training

CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docxCSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
faithxdunce63732
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 sol
IIUM
 

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!The best unix shell scripting interview questions 2018   learn now!
The best unix shell scripting interview questions 2018 learn now!
 
best notes in c language
best notes in c languagebest notes in c language
best notes in c language
 
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docxCSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
 
Assignment 2
Assignment 2Assignment 2
Assignment 2
 
Oop lab assignment 01
Oop lab assignment 01Oop lab assignment 01
Oop lab assignment 01
 
Print the string Hello World.pptx
Print the string Hello World.pptxPrint the string Hello World.pptx
Print the string Hello World.pptx
 
C++ Lab Maual.pdf
C++ Lab Maual.pdfC++ Lab Maual.pdf
C++ Lab Maual.pdf
 
C++ Lab Maual.pdf
C++ Lab Maual.pdfC++ Lab Maual.pdf
C++ Lab Maual.pdf
 
M150 A Fall2010 T01
M150 A Fall2010 T01M150 A Fall2010 T01
M150 A Fall2010 T01
 
Shell script assignment 3
Shell script assignment 3Shell script assignment 3
Shell script assignment 3
 
Cp manual final
Cp manual finalCp manual final
Cp manual final
 
Bis 311 final examination answers
Bis 311 final examination answersBis 311 final examination answers
Bis 311 final examination answers
 
c++ referesher 1.pdf
c++ referesher 1.pdfc++ referesher 1.pdf
c++ referesher 1.pdf
 
Solution manual of shell programming assignment 2
Solution manual of shell programming assignment 2Solution manual of shell programming assignment 2
Solution manual of shell programming assignment 2
 
C - Programming Assignment 1 and 2
C - Programming Assignment 1 and 2C - Programming Assignment 1 and 2
C - Programming Assignment 1 and 2
 
Work Environment Paper
Work Environment PaperWork Environment Paper
Work Environment Paper
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 sol
 
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docxLab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
 
Successfully Implement Responsive Design Behavior with Adobe Experience Manager
Successfully Implement Responsive Design Behavior with Adobe Experience ManagerSuccessfully Implement Responsive Design Behavior with Adobe Experience Manager
Successfully Implement Responsive Design Behavior with Adobe Experience Manager
 
I PUC CS Lab_programs
I PUC CS Lab_programsI PUC CS Lab_programs
I PUC CS Lab_programs
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

Unix Shell Scripting Tutorial | Unix Shell Scripting Online Training

  • 1. 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
  • 2. 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
  • 3. 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.
  • 4. 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.