
Explore how a shell processes commands from the terminal through the kernel to hardware, with Bash as the shell and options like sh and z shell.
In this lecture we're gonna learn how to start and interact with a terminal
Open a terminal, identify the current user with whoami, and use echo to print text and variables like the home directory. Learn about spaces and clearing the screen.
Utilize ls to list files and folders in the home directory, distinguish directories by color, and view file contents with cat; then use wc to count lines, words, and characters.
Explore the print working directory command to view your current path. Switch between folders such as home and desktop, list files, and see the full path update.
Learn to work with directories using the ls command, using -a and -l to list all files (including hidden ones) and show details, with flexible option order.
This assignment guides beginners to create and rename a directory from the desktop, create files with echo, navigate without cd, delete directories from home, and use Google to learn scripting.
Solve assignment 02 basics by learning how to create and manage files and directories using cd, mkdir, touch, echo, and cat, and to create files in subdirectories.
Discover directories and file specs, permissions, dataflow concepts, and basic scripting, including nano ed and piping, stdout and stderr, wildcards, and shell scripting fundamentals for automation with the chrome tab.
Decode the ls -l output to distinguish file types, directory entries, and owner, group, and others permission bits, including read, write, and execute.
Learn permission handling with chmod by making a basic script executable, configuring user, group, and others permissions, and running the script from its directory with a dot slash.
Master the nano editor in the terminal to create and edit files, save with the control or command key, exit with x, and search with ctrl+w, in a beginner-friendly workflow.
Learn how to redirect standard error to a file or /dev/null, manage standard input and output, and pipe commands to process text in shell scripting.
Learn to create a script that writes another script, using a shebang, echo commands, and redirection. Grant executable permissions and run the script with bash to see it execute.
Congratulate yourself on completing the course and embrace visualization as a learning method to become a better shell programmer; explore online guides for further practice and topic expansion.
Understand Shell scripting/programming
I've structured this course in a way that any user with zero knowledge can follow along.
Every command and concept will be explained thoroughly and visualised with slides for better understanding.
This course is a beginners only!
The first section is all about teaching you the foundational skills needed to work with the Bash (Shell) and upon this knowledge you will write your first scripts and automate tasks.
By the end of this course you will automate simple tasks with scripts you've written, in particular you will be able to:
Navigate through directories like your right pocket
Write simple Shell scripts
Automate tasks with self written scripts
Create & use variables
Use Wildcards to make your own life easier
Create scripts that require user interaction
Educate yourself by having key foundational knowledge
____________________
Free Cheat-sheet - Summary of all concepts covered in this course
As an added bonus for enrolling in this course, you'll receive a free cheat-sheet including all concepts and commands shown in this course, in case you want to jog your memory.
Enrol now and to learn how to write bash shell scripts!