Description
Course info
Level
Intermediate
Updated
Feb 4, 2021
Duration
1h 58m
Description

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
About the author

Andrew is a committed evangelist of the Linux Operating System and the concept of community and freedom that it provides. He has worked as a technical trainer since 1995 and has taught throughout the world, including Australia, the US, Germany and Eastern Europe. Andrew started teaching Linux in 2004 when Novell acquired SUSE and has been a long time supporter of Novell and provides SYSOP support the the Certifed Novell Instructor community on Linux. Andrew founded theurbanpenguin and has been submitting video training material to his YouTube channel since 2009 and currently has over 8,500 subscribers and 1.6 Million views. Andrew has had two publications with Packt: Citrix Access Gateway VPX Essentials (2012) and Citrix XenApp (2013).

More from the author
More courses by Andrew Mallett
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello everyone, and welcome. My name is Andrew Mallett, and yes, you are just minutes away from starting your journey in learning shell scripting. Let me introduce to you my latest Pluralsight course, RHEL 8: Creating Shell Scripts. I am the owner of The Urban Penguin in the UK, training and consulting in Linux, and I have been doing so now for many years, working both as a system administrator and a dabbling developer, both in scripting languages and in C. By learning shell scripting in Linux, you can help automate the boring stuff, making much more time for the jobs that you love. This course is designed to get you up and running quickly with Bash shell scripting in Red Hat Enterprise Linux 8 and makes up one in just a series of courses to get you through the RHCSA exam. Some of the topics that we cover include demystifying scripts‑ you'll soon learn that the keywords in scripts can be executed directly at the command line, gathering input to your script using arguments, as well as gaining input during script execution. We'll also see how using loops we can iterate through lists. By the end of this course, you'll know how to create effective scripts, saving you time and effort. The sample script that you create will step you through the process of creating user accounts in Linux and setting their passwords. Using a variety of techniques, your skills will develop so you are easily able to read your script and edit it. Before beginning the course, you should be familiar with the Linux command line and be able to edit files in Linux.