Bash Mastery: Scripting Your Way To Command-Line Excellence

Posted By: ELK1nG

Bash Mastery: Scripting Your Way To Command-Line Excellence
Published 12/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.20 GB | Duration: 7h 43m

Mastering and Unleashing the Power of Bash Scripting

What you'll learn

Develop standalone Bash scripts autonomously

Demonstrate proficiency in both reading and writing Bash syntax

Streamline workflows by employing Bash scripts for automation

Employ advanced debugging tools to troubleshoot Bash scripts effectively

Execute Bash scripts seamlessly on remote servers

Requirements

Basics of Linux command line

You should be comfortable navigating the file system and opening files using the command line

Description

Welcome to "Bash Mastery: Scripting Your Way to Command-Line Excellence" — your gateway to mastering the art of automating tasks and streamlining your workflow with Bash scripting! Whether you're a seasoned developer or just getting started in the world of programming, this comprehensive video course is designed to equip you with the skills needed to harness the full potential of the Bash shell.In this course, we will embark on a journey through the fundamentals of Bash scripting, guiding you step by step from the basics to advanced concepts. You'll learn how to write efficient and effective scripts to automate repetitive tasks, manage files and directories, manipulate data, and even interact with external programs. Each lesson is crafted to provide hands-on experience, ensuring that you not only understand the theory but also gain practical proficiency in Bash scripting.Here's what you can expect to explore:1. Introduction to Bash: Familiarize yourself with the Bash environment, understand basic commands, and navigate the shell with ease.2. Scripting Fundamentals: Dive into the core concepts of scripting, including variables, conditionals, loops, and functions. Build a solid foundation for creating robust Bash scripts.3. Automation and Task Scheduling: Explore the art of automation by creating scripts that handle routine tasks and schedule them for seamless execution.4. Error Handling and Debugging: Master the techniques of error handling and debugging to create resilient scripts that stand up to real-world challenges.5. Advanced Topics: Delve into advanced Bash scripting concepts, including arrays, readarray, getopts, while loops, read-while loops and for loops.By the end of this course, you'll not only be proficient in Bash scripting but will also have the confidence to apply your newfound skills in real-world scenarios. So, let's embark on this journey together and unlock the full potential of Bash scripting! Get ready to become a Bash master!

Overview

Section 1: Introduction to Shell Scripting

Lecture 1 Purpose of Shell Scripting

Lecture 2 Using Multiple Commands

Lecture 3 Creating our First Script File

Lecture 4 Exercise – Performance Analysis

Lecture 5 Solution for Exercise – Performance Analysis

Lecture 6 Conclusion

Section 2: Variables, Command Substitution and Arithmetic Expansion

Lecture 7 What are Variables

Lecture 8 Creating a script using Environment Variables

Lecture 9 User Variables

Lecture 10 Let's understand Command Substitution

Lecture 11 Exercise - Command Substitution

Lecture 12 Solution for Exercise - Command Substitution

Lecture 13 Getting started with Arithmetic Expansion

Lecture 14 Engaging arithmetic expansion while writing scripts

Lecture 15 Bash Calculator (bc) - A floating point solution

Lecture 16 Using bc in scripts

Lecture 17 Calculating the number of days between two specific dates using epoch time

Section 3: Handling User Input

Lecture 18 Positional Parameters

Lecture 19 Handling lots of command-line arguments

Lecture 20 Special parameters

Lecture 21 Grabbing all the data

Lecture 22 Read command

Lecture 23 Timing out and reading with no display

Lecture 24 Select command

Section 4: Using Structured Commands

Lecture 25 Chaining multiple commands using List

Lecture 26 List hands-on-lab

Lecture 27 Comparing integers using Test command

Lecture 28 Comparing strings using Test command

Lecture 29 Running tests for existing files

Lecture 30 If-then statement

Lecture 31 Exercise: If-then statement

Lecture 32 If-then-else statement

Lecture 33 Including an else block within an existing script

Lecture 34 Exercise: If-then-else statement

Lecture 35 If-elif-else statement

Lecture 36 Exercise - Creating a guest's list

Lecture 37 Case statements

Lecture 38 Exercise - Verifying the file type using file extension

Section 5: More Structured Commands

Lecture 39 While loops

Lecture 40 GetOpts

Lecture 41 GetOpts hands-on-lab

Lecture 42 Read-while loops

Lecture 43 Arrays

Lecture 44 ReadArray Command

Lecture 45 For loops

Lecture 46 Using ReadArray command with For loops

Section 6: Running a Clockwork

Lecture 47 At command

Lecture 48 At command examples

Lecture 49 Scheduling regular scripts using cron program

Lecture 50 Example - Scheduling a basic script using cron

Lecture 51 Existing cron directories

Lecture 52 crontab.guru

Lecture 53 Anacron program

Lecture 54 Conclusion

Section 7: Working with remote servers on AWS cloud

Lecture 55 Signing up for an AWS free tier account

Lecture 56 Basics of Elastic Compute Cloud (EC2)

Lecture 57 Launching our first EC2 instance

Lecture 58 Connecting to our EC2 instance via SSH

Lecture 59 Copying files using Secure Copy Protocol (SCP)

Lecture 60 Clean up

Individuals aiming to enhance their IT career by mastering the creation of efficient Bash scripts for task automation and time-saving,Those familiar with the Linux command line seeking to transition from basic familiarity to proficiency in Bash scripting,Novice Bash scripters and individuals with hands-on experience desiring a more comprehensive insight into the inner workings of Bash