Simple play icon Course
Skills

RHEL 8: Creating Shell Scripts

by Andrew Mallett

This course will teach you how to create and execute bash shell scripts from the very basics through to the more complex. The course project that you will create allows you to script the creation of user accounts.

What you'll learn

Administering Linux servers can often involve laborious and repetitive tasks; being able to encapsulate those tasks in scripts saves you time and your work becomes more reliable. In this course, RHEL 8: Creating Shell Scripts, you’ll learn to create shell scripts saving you both valuable time and effort. First, you’ll explore the script header, or shebang, and where scripts need to be located. Next, you’ll discover more advanced syntax by using logic and loops to conditionally process commands. Finally, you’ll learn how to use and create functions within your scripts, allowing for more effective and readable solutions. When you’re finished with this course, you’ll have the skills and knowledge of Linux bash scripting to automate the creation of user accounts and be able to repurpose the script for you own needs.

About the author

Andrew is an all around Linux professional with in depth knowledge of the OS and this is supported with scripting in bash, perl, python and ruby and application development in C, C++ and Java. Having worked for many years in training, Andrew has developed automated course build systems after endless time wasted on Friday nights. The first build system he built was aptly named "Friday nights." This has inspired his interest in all things deployment related. He has authored training courses on M... more

Ready to upskill? Get started