What is covered?
Basics of scripting - no worry you don't know anything about scripting by now
Sha-bang explanation - what it is and why the heck it is called sha-bang
Decision making
Regular expressions
Wildcards
For & While loops
Functions
Reading arguments using CASE structure
Getopt
Getopts
...and many more
And what about AWK? Yes, it is covered here. And what about SED? Also covered.
Why I have created this course?
What is covered?
Basics of scripting - no worry you don't know anything about scripting by now
Sha-bang explanation - what it is and why the heck it is called sha-bang
Decision making
Regular expressions
Wildcards
For & While loops
Functions
Reading arguments using CASE structure
Getopt
Getopts
...and many more
And what about AWK? Yes, it is covered here. And what about SED? Also covered.
Why I have created this course?
Many years back, when I was starting as UNIX administrator, I had many ideas how to improve specific things using scripts. But, I couldn't find any good resource, which would take me through all needed topic in one place. Somewhere I got great explanation about sha-bang while regular expressions for shell scripting were only mentioned. Somewhere was good explanation about decision making in if statement, but SED and AWK part was missing, and that use of SED and AWK was in my carrer really important. Basically I cannot imagine any single production script, where I wouldn't used SED or AWK, because without them you are not able to create that "magic" in your script.
Many years later, I am here to share in one place what is really needed in order to create magic script. Not only how to create script, do some decision making in if statements, write functions, use arrays, but mainly how to combine everything including AWK and SED. I was creating this course in a way, which would help me a lot to create great scripts during start of my career. All needed things in one place.
Please, watch my preview lectures to see what we are going to build in this course.
Test your knowleadge of what we just learned.
Test what we have just learned
Test what have you just learned
Check what have you just learned
Test what have you just learned.
Interested what [ -f $FILENAME ], [ -d $PATH ] and other filesystem comparisons can do?
for loop theory
From real world: for what purpose we use for loop
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.