
Learn how to open the terminal on the Ubuntu desktop by searching for terminal and launching the terminal application.
Navigate the Linux file system with cd, pwd, and tilde shortcuts to move between root and home; use ls to list contents and understand dot dot paths.
Learn to view and interpret Linux file permissions with ls -l, distinguishing owner, group, and others, and understand read, write, and execute bits through practical examples.
Explore how unix file permissions are represented as rwx bits, how owner, group, and others map to 755 and 644, and how to use chmod to set them.
Remove non empty directories with rm -R, and observe verbose output via -v. Learn why rmdir cannot delete non empty folders and how to manage files inside a version directory.
Create and display files with cat, redirect input/output using > and < to files or from files, and pipe data to wc to count words.
Learn to make a shell script executable by moving it to /usr/local/bin and using sudo, so you can run it as hello from anywhere without prefixing with ./.
Learn to create and modify shell variables, assign strings, and echo values with the $variable and $((...)) syntax. Understand unsetting variables, handling empty values, and quotes for interpolation.
Learn how bash rc runs on every terminal start, create a persistent alias file in your home directory, and load dot bash aliases to remember commands like cd.
Develop a bash guessing game that generates a random number between one and the limit, seeding with the script's PID, using a while loop with if-elif-else, prompts, and counting guesses.
Explore bash loops in shell scripts, including for, while, and until forms. Generate sequences with the sequence command and the 1..n bracket range, and compare overhead and alternatives.
Explore the bash case statement by building a multi-branch menu that routes choices to directories using a bash dir variable and regular expressions.
Master grep switches -i, -v, and -c to filter, invert matches, and count results across directories, with practical examples using file patterns and directories.
Explore grep switches -l, -L, -n, and -h to display only matching files, print line numbers, or suppress file names, and begin exploring regular expression syntax.
Learn how to discover grep's command line options via the man page, explore extended, basic, and perl regex modes, and leverage patterns from files or switches.
Discover meta characters in regular expressions, including caret and dollar anchor, dot, backslash, bracketed expressions, alternation, and backreferences, as used with grep and extended regex.
Demonstrates validating emails with grep and regex, building a pattern that starts with letter, allows digits, underscores or dots, includes an at sign, ends with a domain org or com.
Learn to validate US phone numbers with extended regular expressions in grep, matching three-digit groups with optional parentheses and dashes, and anchoring results to the end of the line.
Learn how sed acts as a stream editor that performs substitutions on text using regular expressions. Use s command with delimiters to replace red with blue or ball with wagon.
Master sed addressing notation to print specific lines and ranges, use -n to suppress output, and apply line addresses like 3,5, 3~5, as well as regex-based selection.
Use sed to search a phone list with a regular expression, suppress normal output, print only the matching line numbers, and leverage sed scripting to reuse expressions, grep-like.
This course is teaches the fundamentals of linux shell using the terminal, some insight on bash shell and we will investigate various aspects of the shell, for example scripting, using utilities like grep and sed, C and Perl programming in linux, controll flow as well as the file structure. You will also find out how to navigate the directory structure, reveal the contents of directories, the best way to understand and work with file permissions, how to replicate, move, and remove directories and files. We'll also cover regular expression syntax in the context of learning grep, then use what we have learned as we work.
The course is in six units, and contains over four hours of demos and discussion.
Some of the topics are as below :
I hope you join me as we explore linux together.