Linux Shell Scripting: A Project-Based Approach to Learning
Course
Online
Description
-
Type
Course
-
Methodology
Online
-
Start date
Different dates available
Have you tried to learn shell scripting on your own, but lack the structure you need to really improve your skills?Are you tired of picking up bits and pieces of information that you can't just seem to put together?Do you learn best by doing?If so, you're going to love this course.One of the biggest complaints I hear from students is that most of the courses they've taken in the past simply provide information without any context and without any idea of how to put that information to use! This course turns that old, frustrating, and outdated way of learning on its head. It's project-based, which means instead of learning bits and pieces of information, you'll write actual shell scripts that you can use in real-world situations. You get the chance to immediately put what you learn to use so that you fully understand and remember it.In this Linux shell scripting course you will learn how to:Name your shell scripts.
Use the proper permissions on your shell scripts.
Create and use variables in your scripts.
Use shell built-in commands and operating system commands.
Make the most out of special variables that are available to you in your scripts.
Make decisions by using if statements and performing several different kinds of tests
Check the exit statuses of commands and why you need to.
Use cryptographic hash functions
Create random data so you can do things like automatically generate strong passwords for user accounts.
Perform the same action or set of actions over a series of data utilizing for loops, while loops, and infinite loops.
Control all types of input and output.
Accept standard input from a user as well as from another program.
Redirect standard output and standard error.
Combine standard output and standard error
Use command pipelining
Perform text and string manipulation.
Process command line arguments
Creating functions and when to do so.
Parsing, analyzing, and reporting on log files, CSV files, and other data.
Facilities
Location
Start date
Start date
About this course
Write your very own Linux shell scripts using the concepts you learned in this course
Linux system administrators, developers, programmers, or anyone who wants to learn Linux shell scripting
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 6 years
Subjects
- Mac
- Operating System
- Project
- Red Hat
- Approach
- Linux
- Windows
- Options
- Accounts
Course programme
- Naming shell scripts and file extensions.
- Shell script file permissions and the chmod command.
- Shebangs
- Comments
- Variables
- Quoting – single vs double quotes.
- Shell Builtins including echo, type, and help.
- Displaying information to the screen with the echo shell builtin.
- Getting help on shell builtins by using the help builtin.
- Getting help on Linux commands by using the man command.
- The touch command.
- Pseudocode and pseudocoding.
- Special variables created by the shell including UID.
- How to store the output of a command in a variable with command substitution.
- The if statement.
- The id command.
- The whoami command.
- How to read help and man pages.
- Command options, order, and conventions.
- Conditionals, operators, and expressions.
- The [[, [, and, test shell builtins.
- The command separator.
- Exit statuses.
- Piping output to the less pager.
- Executing commands as root with the sudo command.
- Using the su command to switch users.
- Sanity and “idiot” checking.
- Exit status conventions.
- Controlling the exit status of your script with the exit shell builtin.
- Shell Special Variables.
- Checking the return code or exit status of a command by examining the contents of the $? special variable.
- String test conditionals.
- DRY – Don’t Repeat Yourself
- Getting input from the person executing the script using the read shell builtin.
- Introduction to standard input, standard output, and standard error.
- Creating accounts with the useradd command.
- Username conventions including length, case, and valid characters.
- Using the “-” or “-l” options to the su command to simulate a full login when switching users.
- Controlling the default account creation behaviors by editing the /etc/login.defs file.
- Using quotes to make a string that contains spaces behave as a single argument or item.
- Setting passwords with the passwd command interactively and programmatically.
- Using pipes to chain together multiple commands.
- Expiring accounts with the passwd command
- Naming shell scripts and file extensions.
- Shell script file permissions and the chmod command.
- Shebangs
- Comments
- Variables
- Quoting – single vs double quotes.
- Shell Builtins including echo, type, and help.
- Displaying information to the screen with the echo shell builtin.
- Getting help on shell builtins by using the help builtin.
- Getting help on Linux commands by using the man command.
- The touch command.
- Pseudocode and pseudocoding.
- Special variables created by the shell including UID.
- How to store the output of a command in a variable with command substitution.
- The if statement.
- The id command.
- The whoami command.
- How to read help and man pages.
- Command options, order, and conventions.
- Conditionals, operators, and expressions.
- The [[, [, and, test shell builtins.
- The command separator.
- Exit statuses.
- Piping output to the less pager.
- Executing commands as root with the sudo command.
- Using the su command to switch users.
- Sanity and “idiot” checking.
- Exit status conventions.
- Controlling the exit status of your script with the exit shell builtin.
- Shell Special Variables.
- Checking the return code or exit status of a command by examining the contents of the $? special variable.
- String test conditionals.
- DRY – Don’t Repeat Yourself
- Getting input from the person executing the script using the read shell builtin.
- Introduction to standard input, standard output, and standard error.
- Creating accounts with the useradd command.
- Username conventions including length, case, and valid characters.
- Using the “-” or “-l” options to the su command to simulate a full login when switching users.
- Controlling the default account creation behaviors by editing the /etc/login.defs file.
- Using quotes to make a string that contains spaces behave as a single argument or item.
- Setting passwords with the passwd command interactively and programmatically.
- Using pipes to chain together multiple commands.
- Expiring accounts with the passwd command
- Naming shell scripts and file extensions.
- Shell script file permissions and the chmod command.
- Shebangs
- Comments
- Variables
- Quoting – single vs double quotes.
- Shell Builtins including echo, type, and help.
- Displaying information to the screen with the echo shell builtin.
- Getting help on shell builtins by using the help builtin.
- Getting help on Linux commands by using the man command.
- The touch command.
- Naming shell scripts and file extensions.
- Shell script file permissions and the chmod command.
- Shebangs
- Comments
- Variables
- Quoting – single vs double quotes.
- Shell Builtins including echo, type, and help.
- Displaying information to the screen with the echo shell builtin.
- Getting help on shell builtins by using the help builtin.
- Getting help on Linux commands by using the man command.
- The touch command.
- Naming shell scripts and file extensions.
- Shell script file permissions and the chmod command.
- Shebangs
- Comments
- Variables
- Quoting – single vs double quotes.
- Shell Builtins including echo, type, and help.
- Displaying information to the screen with the echo shell builtin.
- Getting help on shell builtins by using the help builtin.
- Getting help on Linux commands by using the man command.
- The touch command.
- Naming shell scripts and file extensions.
- Shell script file permissions and the chmod command.
- Shebangs
- Comments
- Variables
- Quoting – single vs double quotes.
- Shell Builtins including echo, type, and help.
- Displaying information to the screen with the echo shell builtin.
- Getting help on shell builtins by using the help builtin.
- Getting help on Linux commands by using the man command.
- The touch command.
- Naming shell scripts and file extensions.
- Shell script file permissions and the chmod command.
- Shebangs
- Comments
- Variables
- Quoting – single vs double quotes.
- Shell Builtins including echo, type, and help.
- Displaying information to the screen with the echo shell builtin.
- Getting help on shell builtins by using the help builtin.
- Getting help on Linux commands by using the man command.
- The touch command.
- Naming shell scripts and file extensions.
- Shell script file permissions and the chmod command.
- Shebangs
- Comments
- Variables
- Quoting – single vs double quotes.
- Shell Builtins including echo, type, and help.
- Displaying information to the screen with the echo shell builtin.
- Getting help on shell builtins by using the help builtin.
- Getting help on Linux commands by using the man command.
- The touch command g that contains spaces behave as a single argument or item.
- Setting passwords with the passwd command interactively and programmatically.
- Using pipes...
Additional information
Linux Shell Scripting: A Project-Based Approach to Learning
