Signup as a Tutor

As a tutor you can connect with more than a million students and grow your network.

UNIX Shell Scripting

No Reviews Yet

Mulund East, Mumbai

Course ID: 5783

Mulund East, Mumbai

Students Interested 0 (Seats Left 0)

No Reviews Yet

Date and Time

Not decided yet.

Girish Thakur

More than 20 years exp in UNIX and Linux

About Girish Thakur

More than 20 years exp in UNIX and Linux
No reviews currently Be the First to Review

About the Course

Name of the Course : PowerShell from PowerPack
Duration: 40 Hours


What you will learn

The Shell Scripting course provides students with the skills to read, write, and debug UNIX shell scripts. The course begins by describing simple scripts to automate frequently executed commands and continues by describing conditional logic, user interaction, loops, menus and functions.


Topics Covered

Course Topics
UNIX Shells and Shell Scripts
Describe the role of shells in the UNIX environment
Describe the standard shells
Define the components of a shell script
Write a simple shell script


Writing and Debugging Scripts
Start a script with #!
Put comments in a script
Change permissions on a script
Execute a script
Debug a script


The Shell Environment
Use Bourne and Korn shell variables
Assign values to shell variables
Unset shell and environment variables
Customize the user environment using the .profile file
Perform arithmetic operations
Create and use aliases
Customize the Bourne and Korn shell environments
Wildcard Exapasnsion
Special Characters
Use the tilde expansion and command substitution features of the Korn shell


Conditionals and Parameters
Use the exit status of a command as conditional control
Use the "if" statement to test a condition
Pass values using command-line arguments (positional parameters) into a script
Create USAGE messages
Use conditional if, then, elif, else, and fi constructs
Use exit, let, and test statements ([[ ]], " ")
Apply the &&, ||, and ! Boolean logic operators
Numeric comparison
String comparison
File attributes comparisons
Shell command line parameters
How to use positional parameters
Use the case statement


Interactive Scripts
Use the print and echo commands to display text
Use the read command to interactively assign data to a shell variable
Read user input into one or more variables, using one read statement
Use special characters, with print and echo, to make the displayed text more user friendly
Create a "here" document
Use file descriptors to read from and write to multiple files


Loops
Write scripts that use for, while, and until loops
Write a script using the select statement
Describe when to use loops within a script
Generate argument lists using command, variable, and file-name substitution


The getopt Statement
Process script options using the getopts statement
Advanced Variables, Parameters, and Argument Lists
Declare strings, integers, and array variables
Manipulate string variables
Change the values of the positional parameters using the set statement within a script
Use the Korn shell built-in let, print, set, and typeset statements


Functions
Create user-defined functions in a shell script
Create, invoke, and display functions from the command line
Pass arguments into a function
Call functions from special (function) files that are saved in one or more function directories
Describe where functions are available for use


Traps
Signals
What is a Process?
How to view Processes
Sending signal to Processes
Terminating Processes
Shell signal values
The trap statement
How to clear trap
Include trap statements in a script
Use the trap statement to catch signals and handle errors
What is a Subshell?
Compound command
exec command


Who should attend

System Administrators
System Programmers
Database Administrators
Web administrators
Developers

Pre-requisites

Use basic UNIX commands, such as rm, cp, man, more, mkdir, ps, and chmod
Create and edit text files in vi or a text editor

Note :: Participants who need a refresher course in UNIX fundamentals can contact separately. This would be a 2 hours FREE session before the participants goes ahead with Shell Script training. It may be helpfull to participants who have earlier worked on UNIX, but currently under a different environment.


What you need to bring

We already have the necessary infrastructure, but carrying a Laptop would be beneficial to participants

Key Takeaways

UNIX Shell Scripting Knowledge

Reviews

No reviews currently Be the First to Review

Students Interested 0 (Seats Left 0)

Post your requirement and let us connect you with best possible matches for Computer Software Classes Post your requirement now
Enquire

Enquire

Submit your enquiry for UNIX Shell Scripting

Please enter valid question or comment

Please select a category

Please enter your name.

Please enter valid Phone Number

Please enter the Pin Code.

By submitting, you agree to our Terms of use and Privacy Policy

Connect With PowerPack

You have reached a limit!

We only allow 20 Tutor contacts under a category. Please send us an email at support@urbanpro.com for contacting more Tutors.

You Already have an UrbanPro Account

Please Login to continue

Please Enter valid Email or Phone Number

Please Enter your Password

Please Enter valid Password or OTP

Forgot Password? Resend OTP OTP Sent

Sorry, we were not able to find a user with that username and password.

We have sent you an OTP to your register email address and registered number. Please enter OTP as Password to continue

Further Information Received

Thank you for providing more information about your requirement. You will hear back soon from the trainer