
Set up a Unix or Linux practice environment on Windows by installing Oracle VirtualBox. Import an Ubuntu VM and use the terminal to run commands.
Explore the cat command's practical uses for file handling: display content with optional line numbers, create and copy files, merge multiple files, and append or reverse content with tac.
Set up and practice with sample data for shell scripting and file processing, downloading four data files from a virtual machine, navigating to downloads, and running commands in the terminal.
Learn to view large files page by page using the more command, navigate with space, and quit with q, while noting its forward-only paging and bottom controls.
Learn how the less command provides paging with forward and backward navigation, unlike more. Open a file with less, move pages, and exit with q.
Learn to extract columns from files with awk by specifying separators, using -F or FS, including space, comma, and pipe, to display first, second, and third columns.
Learn to use awk to filter data and perform conditional selection. Print specific columns or full rows based on numeric or string conditions, including comparisons and quoted strings.
Master AWK filtering with the logical and operator to enforce multiple field conditions. Print only records where ID exceeds 20 and salary exceeds 500k.
Learn how awk finds records starting with the letter e, using the start-of-line anchor and printing the full lines, focusing on column two.
Learn to filter running processes saved to a file by the last column using awk and sed, matching a substring anywhere or at the start.
Explore conditional checks in awk using if statements to filter records by salary, applying and or logic and using a pipe as the field separator.
Master awk conditional logic with if-else to display names or stars based on salary thresholds, using -F for field separation and print statements.
Split a file by column data using awk, and output target files containing only selected columns such as employee number, last name, and first name.
Learn how to use awk to calculate the length of strings in a csv column, extracting the last name from the second field and printing its length.
Explore printf string formatting in awk, defining column width and alignment for string columns. Learn to set width with %s, use hyphen for left alignment, and observe default right alignment.
Learn what sed is as a stream editor for file processing. Use line numbers or context to insert, update, delete, and search data with linear browsing or context based operations.
learn to use sed to display lines containing a word, perform case-insensitive matches, and apply context addressing within shell scripts, alongside awk.
Learn how to use sed to search a file for lines containing e (case-insensitive) and save the results to a new file, avoiding terminal output.
Apply sed to substitute data by matching conditions, such as changing 10,000 to 15,000 only when the name is Johnny, and 20,000 to 25,000 only when the name is AJ.
Learn how to delete lines from a file using sed, performing in-place edits, and handle case-insensitive matches to remove both capital and lowercase instances of Simon.
Explore how to use the cut command to extract specific character positions and ranges from column formatted data. Master -c for first characters and ranges like 1-4 and 5-.
Learn how to use the cut command to extract the third to fifth columns from a comma-delimited file and skip lines lacking a delimiter.
Learn to search data in a file with grep, the global regular expression parser, using patterns like 2010 or 2008 to highlight matches.
Learn to search data in all files in a directory using grep, using wildcards to match any name and extension, and interpret results across multiple files.
Explore how to search multiple patterns with egrep (extended grep) using -e, -i, and -n options and pipes to retrieve matching lines from data files.
AWK & SED
Many UNIX utilities generates rows and columns information. AWK is an excellent tool for processing these rows and columns, and is easier to use AWK than most conventional programming languages. It can be considered to be a pseudo-C interpreter, as it understands the same arithmetic operators as C.
AWK also has string manipulation functions, so it can search for particular strings and modify the output. AWK also has associative arrays, which are incredible useful, and is a feature most computing languages lack. Associative arrays can make a complex problem a trivial exercises
AWK Coverage Basic to Advance AWK
Environment Setup with Test Data Setup
Basic Operations-Fetch One or Multiple Columns Data (With Exercise)
Basic Operations-Fetch One or Multiple Columns Data with Separator
Conditionally Fetch Data using Logical AND and Logical OR
Condition Handling with AWK Commands
AWK Looping & Blocks
AWK Blocks
Save AWK Results to the file
SED Coverage
SED Introduction
Display one or Few lines in Output
Display Data by Search conditions
Skip Data to display in output
Find and Replace Data
Search | Insert | Update and Delete Data
Search Data using GREP commands
Search Data in one or Multiple Files
Search Data in All files
Search data with case or ignoring case
Search data with surrounding words
Advance Search Condition
Cut Commands
Cut Columns
Cut Range of Columns
Cut by characters
Shell Scripting
Shell Scripting basics
Working with System and User Variables
Functions
Looping
Condition Handling