
Learn the fundamentals of Unix shell scripting, covering shell introduction, variables, command lines and operators, arguments, conditionals, functions, processes, and essential utilities.
Introduces the shell as a command interpreter and interface between user and kernel, then covers popular shells such as Bourne, C, and Bash, and explains how shell scripts automate tasks.
Write a small shell script that prints hello world, save as a .sh file, set executable permissions with chmod 755, and run it with ./script.sh in bash.
Define system and user variables in bash using the var=value syntax with no spaces, reference values with $var, and display them with echo. Understand naming and case sensitivity.
Explore how to define and access variables in Unix with Bash, using the dollar sign and assignment syntax, and master the differences between double, single, and back quotes.
Learn exit status in bash: zero is success, non-zero is error, via $?, with demos of missing files; also use read to capture input into variables.
Explore unix redirection concepts, using > and >> for writing and appending to files, < for input, and redirecting standard output and input in commands and scripts.
Master how to pass command line arguments to Bash scripts and read user input with the read command, then display prompts and assignments using echo and variables.
Explore wildcards in bash scripting to match file names by patterns, including starting with, ending with, single characters, and bracketed sets, with practical examples for Linux/Unix files.
Connects the output of one command to the input of the next using pipes in bash. Demonstrates practical examples with commands like sort, wc, grep, and ls for data processing.
Explore the expression concept in shell scripting by using test to evaluate command line arguments, determine if they are positive or negative, and review test options, brackets, and permissions.
Master expression concepts in Bash, using comparison operators like less than, greater than, equal, pipe, and not equal; explore string operations such as length, substring, match, and index.
Learn how to use mathematical operators in Unix shell scripting, including equal, not equal, less than, and greater than, and apply them in if statements with variables.
Explore string operators in Unix shell scripting to compare strings with equals and not equals, and test for null or not defined values in Bash scripts.
Discover how shell script logical operators work, including not, and, or, with examples comparing strings like ABC and XYZ to control flow in if statements.
This course will take you from basics of shell scripting which includes how to write or save shell scripts, changing permissions fro execution, taking input from user, loop concepts etc. And will take you slowly to advance concepts like pipes, filters, processes, linux utilities like cut, paste, join etc.
Every concept has been explained with lot of examples so you would know when to apply it and how to apply them in real time world. At the end of course you will find full downloadable ebook containing all concepts and related examples.
Thank you!