
Open the terminal and learn shell basics like navigating directories, listing contents, and managing permissions; perform file operations, create and remove directories, use wildcards, copy, move, delete, and redirect output.
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 list and inspect files in the shell with ls, using -l and -a for detailed and hidden items, identify directories, files, and links, and navigate with cd.
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.
Create and delete directories with mkdir and rmdir. Explore util in the documents directory and understand read, write, execute permissions for owner, group, others, plus cd, ls, and tab completion.
Explore how wildcards work in the Linux shell, using star and question mark to pattern match file names with zero or more characters and exactly one character, respectively.
Learn practical Linux file operations by copying, moving, and deleting files across working and final directories, using cp, mv, rm, and wildcards to manage named files.
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.
Write a bash shell script that prints hello world, add a shebang, save as hello.sh, set execute permission with chmod 755, and run it with ./hello.sh.
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 ./.
Create a bash script to cd into your project directory and execute it in the current shell using dot space. Alias cd for access and place the script in /usr/local/bin.
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.
Understand exit status in the shell, where zero means success and non-zero signals errors; echo $? to inspect the last command, with examples like ls and a non-existent file.
Explore how bash uses exit statuses and the if statement to test file existence with -e, comparing foo and bar to reveal zero versus nonzero results.
Learn to write a bash script that checks if a single command line argument names an existing file, using if statements, test -e, and a usage message.
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.
Explore regular expressions with grep and sed to search and edit text in Unix files. Learn pattern anchoring with beginning and end of lines, and use redirection to capture results.
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.
Demonstrates piping command outputs to grep to filter regular files from listings, using regular expressions, anchors, and counting results.
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 for text substitution, including -n to suppress output and print only altered lines, and use back expressions with subexpressions, escaping parentheses, and alternative delimiters for readability.
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.
Use sed to generate formatted reports, suppress output, and print a title and is correct lines. Use awk to extract fields from a listing, printing permissions and file name.
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.