SlideShare a Scribd company logo
BASH SHELL SCRIPT
1- Introduction to Shell
What is shell
Installation of shell
Shell features
Bash Keywords
Built-in Commands
Linux Commands
Specialized Navigation and History Commands
Shell Aliases
Bash Hash Table
The Set and Shopt Commands
Key binding with bind command
The Colon Command
Long and Multi-line Command
2- Script Basics
Writing small Script
How to execute a script
Creating a Well-Behaved Script
The Header
Global Declarations
Sanity Checks
The Main Script
Cleanup
Stopping a Script
3- Variables
Variable basics
Predefined variables
System variables
Special shell variable
Customizing shell prompt
Variable attributes
Arrays variable
local variable
Exporting variables
Use of quotations
Escape characters
Advance Bash Shell Scripting
The eval command
Reading keyboard input
Basic redirection and pipe
File descriptors
4- Expressions
Basic if command
let Features
File test operators
Arithmetic comparison operators
String comparison operators
Arithmetic comparison with double parentheses
Parameter substitution and expansion
Brackets and Extended brackets test construct
Curly brackets construct
Parentheses and double parentheses
Regular expression
Extended regular expression
POSIX character classes
Globbing options
Here Documents
Logical expressions
5- Compound Commands
Command Status Codes
if Command
case Command
while Loop
until Loop
for Loops
Embedded let
Grouping Commands
6- Debugging and Version Control
Shell Debugging Features
Shell Debugging Options
Version Control (CVS)
Watching Running Scripts
Timing Execution with Time
Creating Man Pages
Shell Archives
tee Command Switches
Linux Time Command Switches
Bash and Linux Time Command Format Codes
7- Parameters and getopts
Positional Parameters
The getopts Command
getopts internal variables
The getopt Command
8- Job Control and Signals
Job Control
Signals
The suspend Command
Traps
Exit Handlers
The killall Command
Being Nice
Process Status
9- Text File Basics
Working with Pathnames
File Truncation
Identifying Files
Creating and Deleting Files
Moving and Copying Files
More Information About Files
Verifying Files
Splitting Large Files
Tabs and Spaces
Temporary Files
Lock Files
Named Pipes
Process Substitution
Opening Files
Using head and tail
File Statistics
Cutting
Pasting
Columns
Folding
Joining
Merging
10- Text File Processing
Finding Lines
Locating Files
Finding Files
Sorting
Character Editing (tr)
Compressing Files
11- Console Scripting
The Linux Console
The Console Keyboard
The Console Display
select Menus
Custom Menus
12- Functions and Script Execution
Shell Functions
Local Variables
Recursion and Nested Functions
Function Attributes
Running Scripts
The Linux Execution Environment
The Source Command (.)
Switching Scripts with exec
13- Shell Security
The Basic Linux Security Model
Knowing Who You Are (id)
Transferring Ownership (chown/chgrp)
Changing Access Rights (chmod)
Default Access Rights (umask)
setuid/setgid and Scripts
The chroot Command
Resource Limits (ulimit)
Restricted Shells
Secure File Deletion
14- Network Programming
Sockets
Client-Server and Peer-to-Peer
Network Clients
CGI Scripting
CGI Environment Variables
Processing Forms
Basic Web Page Stripping
Transferring Files Between Accounts (wget)
Transferring Files with FTP
Transferring Files with Secure FTP (sftp)
15- Sed 'Stream Editor'
The essential command: s for substitution
Substitute Flags
/g - Global replacement
/1, /2, etc. Specifying which occurrence
Write to a file with /w filename
Combining substitution flags
Arguments and invocation of sed
Multiple commands with -e command
sed -f scriptname
sed in shell script
A sed interpreter script
Addresses and Ranges of Text
Restricting to a line number
Patterns
Ranges by line number
Ranges by patterns
Delete with d
Grouping with { and }
Multi-Line Patterns
16- Awk Programming
Getting Started
The Structure of an A WK Program
Running an A WK Program
Computing and Printing
Printing Line Numbers
Putting Text in the Output
Sorting the Output
Selection by Text Content
Combinations of Patterns
BEGIN and END
Computing with A WK
Computing Sums and Averages
String Concatenation
Built-in Functions
Counting Lines, Words, and Characters
Control-Flow Statements
Expressions as Patterns
String-Matching, Compound and Range Patterns
Regular Expressions
The printf Statement
Output into Files
Contact Us
REXTON IT SOLUTIONS
C-28, Sector 2, Near Nirula Hotel, Noida-201301
Tel: 01204117766
Cell: +91 9999051150
Email Id: Contact@rextonitsolutions.com
Website: www.Rextonitsolutions.com

More Related Content

What's hot

Shell programming
Shell programmingShell programming
Shell programming
Moayad Moawiah
 
Introduction to Shell script
Introduction to Shell scriptIntroduction to Shell script
Introduction to Shell script
Bhavesh Padharia
 
Module 02 Using Linux Command Shell
Module 02 Using Linux Command ShellModule 02 Using Linux Command Shell
Module 02 Using Linux Command Shell
Tushar B Kute
 
Linux shell env
Linux shell envLinux shell env
Linux shell envRahul Pola
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
Anuchit Chalothorn
 
Basics of shell programming
Basics of shell programmingBasics of shell programming
Basics of shell programming
Chandan Kumar Rana
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Linux
LinuxLinux
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
Hanan Nmr
 
Scripting and the shell in LINUX
Scripting and the shell in LINUXScripting and the shell in LINUX
Scripting and the shell in LINUX
Bhushan Pawar -Java Trainer
 
The Linux Command Cheat Sheet
The Linux Command Cheat SheetThe Linux Command Cheat Sheet
The Linux Command Cheat Sheet
Tola LENG
 
Linux commands
Linux commandsLinux commands
Linux commands
Radheshyam Kori
 
Git/Github/Bitbucket@TalkIt. Humber college.
Git/Github/Bitbucket@TalkIt. Humber college.Git/Github/Bitbucket@TalkIt. Humber college.
Git/Github/Bitbucket@TalkIt. Humber college.
Andrew Romanenco
 
Important Linux Commands
Important Linux CommandsImportant Linux Commands
Important Linux Commands
Arun Sharma
 
Linux basics
Linux basicsLinux basics
Linux basics
Geeta Vinnakota
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
Sagar Kumar
 
Course 102: Lecture 10: Learning About the Shell
Course 102: Lecture 10: Learning About the Shell Course 102: Lecture 10: Learning About the Shell
Course 102: Lecture 10: Learning About the Shell
Ahmed El-Arabawy
 

What's hot (20)

Shell programming
Shell programmingShell programming
Shell programming
 
Introduction to Shell script
Introduction to Shell scriptIntroduction to Shell script
Introduction to Shell script
 
Module 02 Using Linux Command Shell
Module 02 Using Linux Command ShellModule 02 Using Linux Command Shell
Module 02 Using Linux Command Shell
 
Linux shell env
Linux shell envLinux shell env
Linux shell env
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
SHELL PROGRAMMING
SHELL PROGRAMMINGSHELL PROGRAMMING
SHELL PROGRAMMING
 
Basics of shell programming
Basics of shell programmingBasics of shell programming
Basics of shell programming
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Linux
LinuxLinux
Linux
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
 
Scripting and the shell in LINUX
Scripting and the shell in LINUXScripting and the shell in LINUX
Scripting and the shell in LINUX
 
The Linux Command Cheat Sheet
The Linux Command Cheat SheetThe Linux Command Cheat Sheet
The Linux Command Cheat Sheet
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Git/Github/Bitbucket@TalkIt. Humber college.
Git/Github/Bitbucket@TalkIt. Humber college.Git/Github/Bitbucket@TalkIt. Humber college.
Git/Github/Bitbucket@TalkIt. Humber college.
 
Important Linux Commands
Important Linux CommandsImportant Linux Commands
Important Linux Commands
 
Basic linux day 5
Basic linux day 5Basic linux day 5
Basic linux day 5
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Course 102: Lecture 10: Learning About the Shell
Course 102: Lecture 10: Learning About the Shell Course 102: Lecture 10: Learning About the Shell
Course 102: Lecture 10: Learning About the Shell
 

Viewers also liked

Analysis of cylindrical shell structure with varying parameters
Analysis of cylindrical shell structure with varying parametersAnalysis of cylindrical shell structure with varying parameters
Analysis of cylindrical shell structure with varying parameters
eSAT Journals
 
Surface active systems
Surface active systems Surface active systems
Surface active systems
Rishikesh Kalal
 
Chap # 1. plant asset & depreciation
Chap # 1. plant asset & depreciationChap # 1. plant asset & depreciation
Chap # 1. plant asset & depreciation
raham111
 
Shell structure (basic concept)
Shell structure (basic concept)Shell structure (basic concept)
Shell structure (basic concept)
Ian Toisa
 
Shell structure
Shell structureShell structure
Shell structure
Susmita Paul
 
struktur cangkang (sell structure) kel. 4
struktur cangkang (sell structure) kel. 4struktur cangkang (sell structure) kel. 4
struktur cangkang (sell structure) kel. 4
WSKT
 
Types of structures
Types of structuresTypes of structures
Types of structures
Javier Gómez
 
The shell structure system
The shell structure systemThe shell structure system
The shell structure system
Mazin Elbashkatib
 
Shell structures- advanced building construction
Shell structures- advanced building constructionShell structures- advanced building construction
Shell structures- advanced building construction
Shweta Modi
 

Viewers also liked (12)

Analysis of cylindrical shell structure with varying parameters
Analysis of cylindrical shell structure with varying parametersAnalysis of cylindrical shell structure with varying parameters
Analysis of cylindrical shell structure with varying parameters
 
Surface active systems
Surface active systems Surface active systems
Surface active systems
 
Chap # 1. plant asset & depreciation
Chap # 1. plant asset & depreciationChap # 1. plant asset & depreciation
Chap # 1. plant asset & depreciation
 
Space and shell structures
Space and shell structuresSpace and shell structures
Space and shell structures
 
Shells
ShellsShells
Shells
 
Shell structure (basic concept)
Shell structure (basic concept)Shell structure (basic concept)
Shell structure (basic concept)
 
Shell structure
Shell structureShell structure
Shell structure
 
struktur cangkang (sell structure) kel. 4
struktur cangkang (sell structure) kel. 4struktur cangkang (sell structure) kel. 4
struktur cangkang (sell structure) kel. 4
 
Types of structures
Types of structuresTypes of structures
Types of structures
 
Shell
ShellShell
Shell
 
The shell structure system
The shell structure systemThe shell structure system
The shell structure system
 
Shell structures- advanced building construction
Shell structures- advanced building constructionShell structures- advanced building construction
Shell structures- advanced building construction
 

Similar to BASH Shell Script Training in Noida- Rexton It Solution

Kali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdfKali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdf
SN 600W
 
Kali linux commands
Kali linux commandsKali linux commands
Kali linux commands
Jubair Ahmed Junjun
 
Shellscripting
ShellscriptingShellscripting
Shellscripting
Narendra Sisodiya
 
Shell tutorial
Shell tutorialShell tutorial
Shell tutorialVu Duy Tu
 
Linux administration training from hyderabad
Linux administration training from hyderabadLinux administration training from hyderabad
Linux administration training from hyderabadFuturePoint Technologies
 
2023comp90024_linux.pdf
2023comp90024_linux.pdf2023comp90024_linux.pdf
2023comp90024_linux.pdf
LevLafayette1
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
harirxg
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
Harish1983
 
List command linux a z
List command linux a zList command linux a z
List command linux a zJinyuan Loh
 
Quick guide of the most common linux commands
Quick guide of the most common linux commandsQuick guide of the most common linux commands
Quick guide of the most common linux commands
Carlos Enrique
 
Unix And Shell Scripting
Unix And Shell ScriptingUnix And Shell Scripting
Unix And Shell Scripting
Jaibeer Malik
 
5.Shell And Environment
5.Shell And Environment5.Shell And Environment
5.Shell And Environmentphanleson
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Serverswebhostingguy
 
101 3.1 gnu and unix commands v4
101 3.1 gnu and unix commands v4101 3.1 gnu and unix commands v4
101 3.1 gnu and unix commands v4
Acácio Oliveira
 
Linux
LinuxLinux
Genode Programming
Genode ProgrammingGenode Programming
Genode Programming
Vasily Sartakov
 
Advanced Bash-Scripting Guide Advanced Bash-Scripting Guide An In-Depth Explo...
Advanced Bash-Scripting Guide Advanced Bash-Scripting Guide An In-Depth Explo...Advanced Bash-Scripting Guide Advanced Bash-Scripting Guide An In-Depth Explo...
Advanced Bash-Scripting Guide Advanced Bash-Scripting Guide An In-Depth Explo...
Bryce Nelson
 

Similar to BASH Shell Script Training in Noida- Rexton It Solution (20)

Kali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdfKali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdf
 
Kali linux commands
Kali linux commandsKali linux commands
Kali linux commands
 
Shellscripting
ShellscriptingShellscripting
Shellscripting
 
Shell tutorial
Shell tutorialShell tutorial
Shell tutorial
 
Linux administration training from hyderabad
Linux administration training from hyderabadLinux administration training from hyderabad
Linux administration training from hyderabad
 
2023comp90024_linux.pdf
2023comp90024_linux.pdf2023comp90024_linux.pdf
2023comp90024_linux.pdf
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
archive A-Z linux
archive A-Z linuxarchive A-Z linux
archive A-Z linux
 
List command linux a z
List command linux a zList command linux a z
List command linux a z
 
Quick guide of the most common linux commands
Quick guide of the most common linux commandsQuick guide of the most common linux commands
Quick guide of the most common linux commands
 
Unix And Shell Scripting
Unix And Shell ScriptingUnix And Shell Scripting
Unix And Shell Scripting
 
Commands
CommandsCommands
Commands
 
5.Shell And Environment
5.Shell And Environment5.Shell And Environment
5.Shell And Environment
 
Comenzi unix
Comenzi unixComenzi unix
Comenzi unix
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
 
101 3.1 gnu and unix commands v4
101 3.1 gnu and unix commands v4101 3.1 gnu and unix commands v4
101 3.1 gnu and unix commands v4
 
Linux
LinuxLinux
Linux
 
Genode Programming
Genode ProgrammingGenode Programming
Genode Programming
 
Advanced Bash-Scripting Guide Advanced Bash-Scripting Guide An In-Depth Explo...
Advanced Bash-Scripting Guide Advanced Bash-Scripting Guide An In-Depth Explo...Advanced Bash-Scripting Guide Advanced Bash-Scripting Guide An In-Depth Explo...
Advanced Bash-Scripting Guide Advanced Bash-Scripting Guide An In-Depth Explo...
 

Recently uploaded

The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 

Recently uploaded (20)

The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 

BASH Shell Script Training in Noida- Rexton It Solution

  • 1. BASH SHELL SCRIPT 1- Introduction to Shell What is shell Installation of shell Shell features Bash Keywords Built-in Commands Linux Commands Specialized Navigation and History Commands Shell Aliases Bash Hash Table The Set and Shopt Commands Key binding with bind command The Colon Command Long and Multi-line Command
  • 2. 2- Script Basics Writing small Script How to execute a script Creating a Well-Behaved Script The Header Global Declarations Sanity Checks The Main Script Cleanup Stopping a Script 3- Variables Variable basics Predefined variables System variables Special shell variable Customizing shell prompt Variable attributes Arrays variable local variable Exporting variables Use of quotations Escape characters Advance Bash Shell Scripting The eval command Reading keyboard input Basic redirection and pipe File descriptors 4- Expressions Basic if command let Features File test operators Arithmetic comparison operators String comparison operators Arithmetic comparison with double parentheses Parameter substitution and expansion Brackets and Extended brackets test construct Curly brackets construct Parentheses and double parentheses Regular expression Extended regular expression POSIX character classes
  • 3. Globbing options Here Documents Logical expressions 5- Compound Commands Command Status Codes if Command case Command while Loop until Loop for Loops Embedded let Grouping Commands 6- Debugging and Version Control Shell Debugging Features Shell Debugging Options Version Control (CVS) Watching Running Scripts Timing Execution with Time Creating Man Pages Shell Archives tee Command Switches Linux Time Command Switches Bash and Linux Time Command Format Codes 7- Parameters and getopts Positional Parameters The getopts Command getopts internal variables The getopt Command 8- Job Control and Signals Job Control Signals The suspend Command Traps Exit Handlers The killall Command Being Nice Process Status 9- Text File Basics Working with Pathnames
  • 4. File Truncation Identifying Files Creating and Deleting Files Moving and Copying Files More Information About Files Verifying Files Splitting Large Files Tabs and Spaces Temporary Files Lock Files Named Pipes Process Substitution Opening Files Using head and tail File Statistics Cutting Pasting Columns Folding Joining Merging 10- Text File Processing Finding Lines Locating Files Finding Files Sorting Character Editing (tr) Compressing Files 11- Console Scripting The Linux Console The Console Keyboard The Console Display select Menus Custom Menus 12- Functions and Script Execution Shell Functions Local Variables Recursion and Nested Functions Function Attributes Running Scripts The Linux Execution Environment
  • 5. The Source Command (.) Switching Scripts with exec 13- Shell Security The Basic Linux Security Model Knowing Who You Are (id) Transferring Ownership (chown/chgrp) Changing Access Rights (chmod) Default Access Rights (umask) setuid/setgid and Scripts The chroot Command Resource Limits (ulimit) Restricted Shells Secure File Deletion 14- Network Programming Sockets Client-Server and Peer-to-Peer Network Clients CGI Scripting CGI Environment Variables Processing Forms Basic Web Page Stripping Transferring Files Between Accounts (wget) Transferring Files with FTP Transferring Files with Secure FTP (sftp) 15- Sed 'Stream Editor' The essential command: s for substitution Substitute Flags /g - Global replacement /1, /2, etc. Specifying which occurrence Write to a file with /w filename Combining substitution flags Arguments and invocation of sed Multiple commands with -e command sed -f scriptname sed in shell script A sed interpreter script Addresses and Ranges of Text Restricting to a line number Patterns Ranges by line number Ranges by patterns
  • 6. Delete with d Grouping with { and } Multi-Line Patterns 16- Awk Programming Getting Started The Structure of an A WK Program Running an A WK Program Computing and Printing Printing Line Numbers Putting Text in the Output Sorting the Output Selection by Text Content Combinations of Patterns BEGIN and END Computing with A WK Computing Sums and Averages String Concatenation Built-in Functions Counting Lines, Words, and Characters Control-Flow Statements Expressions as Patterns String-Matching, Compound and Range Patterns Regular Expressions The printf Statement Output into Files Contact Us REXTON IT SOLUTIONS C-28, Sector 2, Near Nirula Hotel, Noida-201301 Tel: 01204117766 Cell: +91 9999051150 Email Id: Contact@rextonitsolutions.com Website: www.Rextonitsolutions.com