2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
21st August 2014, 08:34 AM
Super Moderator
 
Join Date: Apr 2013
Re: Amrita institute for Linux

Amrita institute welcomes all the professionals and students who are looking for education in Networking Solutions from across the world. It was established to provide quality, industry-oriented computer education concurring with the prevailing and future needs of the Information Age, in an environment conducive for imbibing spiritual values.

Courses:
Red Hat Certified System Administrator (RHCSA),
RHCE
Red Hat Certified Virtualization Administrator (RHCVA)
RHCSS
RHCDS
Red Hat Certified Architect (RHCA®)
RHCJD
RHCJA
CL210
RH236
RH413
\
Shell Scripting
Table of Contents for Unix Shell Scripting.2:
1. Shell Scripting
Introduction to the Course structure
What you will need
What is Shell Scripting
Introduction to info, man and the whatis database
info pages
Man Pages
The whatis Database
Revising some Basic Commands
The who command
The w Command
The "date" command
The 'echo' command
File Commands
System Commands
stdin, stdout, stderr
stdin
stdout
Using stdin and stdout simultaneously
Appending to a file
stderr
stdout, stderr and using the ampersand (&)
Unamed Pipes 41

2. The Shell
Introduction
What is the login shell?
Exercises
The job of the shell
Command Interpreter
Allows for variables to be set
I/O redirection
Pipelines
Customising your environment

3. Regular Expressions
Introduction
What are regular expressions?
The fullstop
Let's explore "sed" syntax
Square brackets ( [ ] ), the caret ( ^ ) and the dollar ( $ )
Using sed and pipes
The splat (asterisk) ( * )
The plus operator ( + )
Returning from detour to our discussion on curly braces…
RE's are greedy for matching patterns
Placeholders and word boundaries
Word boundaries ( < and > ) - a formal explanation
The tr command
The cut command
The paste command
The uniq command
The Sort command
The grep command
grep, egrep and fgrep

4. Practically Shell Scripting
Section Techniques to use when writing, saving and executing Shell
Scripts
Detour: File Extension labels
Comments in scripts
Variables
Shebang or hashpling #!
Exit
Null and unset variables
Variable Expansion
Environmental vs shell variables
Arithmetic in the shell

5. Using Quotation marks in the Shell
Introduction
Single Quotes or "ticks"
Exercises:
Double Quotes
Backticks
Shell Arithmetic's with expr and back quotes
Another tip when using quotation marks

6. So, you want an Argument?
Introduction
Positional Parameters 0 and 1 through 9
Other arguments used with positional parameters
$# How many positional arguments have we got
$* - display all positional parameters
Using the "shift" command - for more than 9 positional parameters
Exit status of the previous command

7. Where to From Here
Making Decisions
Testing for a true or false condition
Different types of tests
Logical Operators
Conditions in the shell
Using the "if" statement
The "if" "then" "else" statement
The "elif" statement
The "case" statement
Debugging your scripts
The NULL command
The || and && commands

8. Loops
Introduction
The "for" loop
while and until loops
getopts Using arguments and parameters

9. User input to a script
Introduction
The read command
Presenting the output
The echo command
The printf command

10. Additional Information
The shell environmental variables pertaining to scripting
The Source command
the exec command
Other methods of executing a script or a series of commands

11. Bits and pieces - tying up the loose ends
The eval command
Running commands in the background using &
Traps and signals
Signals
Traps
File descriptors re-visited
Functions

Address:
Amrita Technologies
844/1, Shantiniketan Colony,
Near Delhi Public School , Adjacent to Budha Vihar,
Mahendra Hills East Marredpally,
Secunderabad-500026.
Contact Nos: 040-27733174 / 27737969 / +91-9393733174
Email Id: admin@amritahyd.org

Map:
[MAP]https://maps.google.co.in/maps?q=Secunderabad++Amrita+Technologies++&hl=en&l l=17.450969,78.520231&spn=0.048473,0.081711&sll=19 .972815,78.47144&sspn=24.290915,41.835938&hq=Amrit a+Technologies&hnear=Secunderabad,+Hyderabad,+Tela ngana&t=m&z=14&iwloc=A[/MAP]


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 08:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4