Video description
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. 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.
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.
Distributed by Manning Publications
This course was created independently by Linux Training Academy and is distributed by Manning through our exclusive liveVideo platform.
About the Technology
About the Video
What's Inside
- Name your shell scripts and 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.
- Create functions and learn when to do so.
- Parse, analyze, and report on log files, CSV files, and other data.
- Write scripts that execute commands on other systems.
About the Reader
- Basic understanding of the Linux command line.
- Access to a computer with a 64-bit processor running either Windows, Mac, or Linux.
About the Author
Jason Cannon started his career as a Unix and Linux System Engineer in 1999. Since that time he has utilized his Linux skills at companies such as Xerox, UPS, Hewlett-Packard, and Amazon.com. Additionally, he has acted as a technical consultant and independent contractor for small businesses and Fortune 500 companies.
Jason has professional experience with CentOS, RedHat Enterprise Linux, SUSE Linux Enterprise Server, and Ubuntu. He has used several Linux distributions on personal projects including Debian, Slackware, CrunchBang, and others. In addition to Linux, Jason has experience supporting proprietary Unix operating systems including AIX, HP-UX, and Solaris.
He enjoys teaching others how to use and exploit the power of the Linux operating system. He is also the author of the books "Linux for Beginners" and "Command Line Kung Fu."
Quotes
Table of contents
- Course Introduction
-
Course Setup - Creating a Local Linux Shell Scripting Environment
- Creating a Local Lab Environment Using Vagrant and VirtualBox - Background
- Exercise 1 – Walkthrough – Part I – Windows Users Only
- Exercise 1 – Walkthrough – Part I – Mac Users Only
- Exercise 1 – Walkthrough – Part I – Linux (CentOS/RHEL) Users Only
- Exercise 1 – Walkthrough – Part I – Apple Silicon CPU Users Only
- Exercise 1 – Walkthrough – Part II – All Users, Except Apple Silicon Users
- Vagrant and VirtualBox Troubleshooting Tips
-
User and Account Creation - Shell Scripting Project 1
- Local User Creation – Intro
- Getting Started with Shell Scripting: Naming, Permissions, Variables, Builtins
- Special Variables, Pseudocode, Command Substitution, if Statement, Conditionals
- Exit Statuses, Return Codes, String Test Conditionals, More Special Variables
- Reading Standard Input, Creating Accounts, Username Conventions, More Quoting
- Local User Creation – Exercise 2 – Walkthrough
- Password Generation and Shell Script Arguments - Shell Scripting Project 2
- Linux Programming Conventions - Shell Scripting Project 3
-
Parsing Command Line Options – Shell Scripting Project 4
- Case Statements
- Functions
- Parsing Command Line Options with getopts, Part 1
- Parsing Command Line Options with getopts, Part 2
- Deleting and Disabling Linux Accounts, Part 1 of 4 (Finding Files)
- Deleting and Disabling Linux Accounts, Part 2 of 4 (The userdel command)
- Deleting and Disabling Linux Accounts, Part 3 of 4 (Archives with tar)
- Deleting and Disabling Linux Accounts, Part 4 of 4 (Disabling Accounts)
- Deleting Users – Exercise 5 – Walkthrough
- Transforming Data / Data Processing /Reporting – Shell Scripting Project 5
-
Network Scripting Automation of Distributed Systems: Shell Scripting Project 6
- Configuring a Mini Network and Scripting for Remote Systems
- Scripting Remote Commands – Walkthrough – Part 1
- Scripting Remote Commands – Walkthrough – Part 2
- Scripting Software Installs, Both Local and Remote
- Breaking and Continuing Loops
- Remote Software Install – Walkthrough
- Scheduling Your Scripts with Cron
- Viewing Running Processes
- Monitoring Processes – Walkthrough
- Course Summary
- Course Extras
Product information
- Title: Linux Shell Scripting
- Author(s):
- Release date: June 2022
- Publisher(s): Manning Publications
- ISBN: 10000DIHV202274
You might also like
book
Linux Command Line and Shell Scripting Techniques
Practical and actionable recipes for using shell and command-line scripting on your Linux OS with confidence …
book
Mastering Linux Shell Scripting
Master the complexities of Bash shell scripting and unlock the power of shell for your enterprise …
book
Linux Shell Scripting Cookbook - Third Edition
Do amazing things with the shell About This Book Become an expert in creating powerful shell …
video
Linux Shell Scripting: A Project-Based Approach to Learning
Have you tried to learn shell scripting on your own, but lack the structure you need …