Course Section Links
Bash Shell Scripting Tutorial - Part 1
An introduction to Bash Shell scripting
Welcome to the Land of Linux's tutorials and guides. In part 1 of our Bash Scripting tutorial we will cover some very basic information. What is a shell? We will look at how to use variables and the structure of a Bash Shell script.
Bash Introduction. What is Bash? Bourne Again Shell.
Internal and External Commands, Type command, Bash Configuration Files - Startup Files.
Command substitution, wildcard expansion, Single quotes and double quotes explained.
Standard input, Standard Output and Standard error explained. Pipes and redirection.
Assigning values to variables, IFS explained. Using printf to format output. Using the read command. env, set, export and unset commands.
What are shell variables? Using shift and eval within scripts.
Changing properties of variables with declare.
basic structure of a script, Using comments, handling errors. $PATH explained.