Bash/Shell Scripting Essentials
Learn Bash/Shell Scripting with Summarized Explanation, Starting from the Basic Level
Description
An Operating System consists of many components, but its two main components are: Kernel and Shell.
What is Kernel?
Kernel; It enables communication between hardware and software. Kernel is the innermost part of an operating system. It is responsible for managing all of the system's resources, such as the CPU, memory, and storage. The kernel also provides a set of system calls that allow user-mode programs to interact with the hardware.
What is Shell?
Shell is a program that lets you interact with your computer's operating system. It takes the commands you type in and turns them into instructions that the operating system can understand.
What is Shell Script?
Shell Script is an open-source computer program designed to be run by the Unix/Linux shell program. Shell scripts allow us to write down a sequence of shell commands in a file and then execute them all at once. This can save us a lot of time and effort, especially if we need to run the same commands regularly.
With this course, we will see the basics of writing shell scripts in this command sequence. Now let's take a look at the contents of Shell Scripting Essentials:
Variables
Comparison Operators
Conditional Statements
Loops
Positional Arguments
Storing Output of Command
Exit Codes of Commands
Redirection
Here Document
Piping
Functions
Parse Script Arguments and Parameters
File Operations
Grep Command
Aliases
Wait Command
Signal Handling
Debugging
Regex
Sed Command
Examples
What You Will Learn!
- Automate Tasks
- Manage Files and Directories
- Handle User Input
- Make Decisions
- Repeat Actions
- Debug Scripts
- Use Regular Expressions
- Handle Errors
- Create Shell Functions
Who Should Attend!
- Beginners and enthusiasts who who would like to learn how to automate tasks and save time and effort
- Developers who want to automate build and deployment processes
- Engineers who want to learn the command line and shell scripting together