
Set up a unix/linux practice environment on Windows by installing VirtualBox, importing a linux image, creating and running a virtual machine, and using the terminal.
Practice unix or linux commands using an online terminal or a lightweight virtual machine setup, and expect about 90 to 95 percent of commands to work online.
Learn to use basic unix commands to identify the present working directory, clear the terminal, and access command help via the manual.
Master creating, renaming, moving into and out of directories, and deleting directories in Unix/Linux by using mkdir, mv, cd, ls, and rm -r to manage root to subdirectory structures.
Create multiple directories using ranges and curly brace notation, such as hello {1..10} and automation {2..4}, and delete them in bulk with wildcard rm commands.
Learn to create blank files, files with content, and insert data using shell commands and vim. Discover how to manage files with extensions, hidden files, and basic listing in Unix/Linux.
Master listing files with ls, including hidden files and long format, sort by time with -t and -r, and show sizes in human readable form with -h using less.
Explore practical uses of the cat command, including displaying file content with line numbers, creating and merging files, using overwrite and append redirection, and reversing order with tac.
Download the sample data and set up the files in your downloads. Practice using simple data with me in the terminal as we run commands and explore file content.
Explore how the cat command helps you check file content in Unix, including viewing, numbering lines with -n, skipping blank lines with -B, and reading files in reverse order.
Learn to use the head command to view the top of a file. Display the default ten lines, or specify lines or bytes, and even skip the last lines.
Learn to use tail to display the bottom of a file, contrast it with head, and note last 10 lines by default while using -n or -c to fetch more.
Learn to view files page by page with the more command, navigate forward with space and quit with q, comparing with cat and head, using the hotel.bsd file example.
Explore the less command for paging file content and enabling forward and backward navigation. Compare it with more and practice moving pages with d and b, then close the file.
Learn how to view and edit a file with the vim editor by opening a file, navigating with arrow keys, and saving or quitting with :wq or :q!.
Learn to fetch middle sections of a file in Unix by piping head and tail, selecting ranges like 2 to 5 or 10 to 19, accounting for the header.
Learn to use grep, the global regular expression parser, to search data in a file and extract lines matching patterns such as 2010 or 2008 in csv and txt examples.
Learn to search data across multiple files in a folder using grep, showing matching lines and source file names like hotels 30 60 and movies.
Learn to use grep to search data across all files in a directory, using wildcards like star and dot star to match any file and extension, and view results.
Learn to perform case-insensitive data search with grep using the -i flag, applying searches across files, and contrasting with default case-sensitive behavior.
Use grep to search data in files and display matching lines with line numbers via the -n option, including case-insensitive searches across files like movies and hotels.
Learn how to use grep to search for a word across multiple files and display only file names with matches using -L, with optional -i for case-insensitive search.
Learn to search data with grep for exact words using -w, preventing substring matches, and apply it across files to find exact terms like John and 38.
Master how to use grep to filter data by excluding text. Apply the -v option and optional -i to display records not containing a given word, with practical examples.
Learn to count grep matches with the -c option to display only the number of occurrences, not the matching lines, and use -i for case-insensitive searches across files.
Display surrounding lines around a search hit using options like -B and -A to show preceding and following context, with -n for line numbers and -i for ignore case.
Learn to perform extended searches with grep -e to find multiple terms in a file, using ignore cases and optional line numbers for precise results.
Learn to use egrep, the extended grep, to search multiple data in a single command, using -e for patterns, -i for ignore case, and -n for line numbers.
Learn how to copy files and directories in Unix using cp, covering copying within the current folder or to absolute path location, using verbose mode, and updating only when changed.
Learn to copy files and directories on Unix with cp, including copying folders recursively and preserving contents. Use verbose mode to see each item copied and practice copying between locations.
move files and directories using the mv command, demonstrating cut and paste across locations, with relative and absolute paths and recursive directory transfers.
Learn to rename files and directories in Unix/Linux using the mv command, demonstrating renaming a file and a folder while preserving their contents.
Redirect command output to files using the > operator, create files, save results, and use >> to append without overwriting, including instances with grep, head, and tail.
Use the less-than symbol (<) to redirect standard input from a file for commands like grep, demonstrated with a movies file to search for 2010.
Explore how the pipe symbol connects multiple commands, passing output from one as input to the next, with practical examples using head, tail, grep, and process listing.
Explore basic system commands in the Unix environment, including calendar, date, and whoami, and learn to install and use the banner utility to print text in large fonts.
compare two files byte by byte using the cmp command, identify the first differing byte, and explore options like -n to limit bytes and -l to show all differing bytes.
Learn to use the comm command to compare two sorted files. It outputs three columns: common lines and lines unique to each file, with options to filter columns.
Compare two files line by line with diff, showing only differing lines by default, and use options to show error or success messages, display side-by-side, or suppress common lines.
Learn to use the find command to locate files and folders in the current directory and its subdirectories, using dot, then filter results with grep via a pipe.
Learn to search files across the system with locate, exploring substring matches, and using -c, -i, -w, and -l to count, ignore case, match exact words, and limit results.
Explore the pr command to paginate and print text files, add headers, and number lines. Learn to compare files in parallel or display them in columns.
Learn how to merge lines in a file using the paste command, including using -s to collapse lines and -d to set custom delimiters like tab, pipe, comma, or hash.
Learn to use wc, the word count utility, to display lines, words, and bytes in a file, and apply -l, -w, and -c options.
Learn to sort file content with the sort command, showing numeric first and alphabetic order, and switch to descending with -r while using -b and -f for blanks and case.
Explore how the history command displays all previously executed commands, view the last 20 entries, and save the history to a file for later review.
Learn how to fetch unique data from a file using the uniq command, with sorting required and options for counting occurrences, ignoring case, displaying duplicates, and showing only unique lines.
Master Unix file permissions by using chmod to assign read, write, and execute for owner, group, and others, using octal codes like 654 and 660.
Explore basic Unix commands to list running processes, save output to a file, view contents, and filter lines containing or excluding the text 'bin' using direct commands.
Code and save all records to a file, search the dataset, determine the number of columns, count occurrences, and display line numbers next to each matching record.
Practice searching for a specific count only and display only two matching records, reinforcing filtering from prior sessions.
Course Updates
Oct 2024 - Added AWK and SED videos
Nov 2020 - Added File Search Videos (Grep Commands)
Apr 2020 - Updated video and audio quality of Section 1 and Section 2
Dec 2019 - Added virtual machine setup instructions
Unix / Linux Command & Shell scripting
This is a Must to Learn course for every IT Professional(Be it developer or Tester), Now days in every job profile, you will find it mandatory to have skills to Work in Unix or Linux Environment.
In today's competitive environment, companies need professionals who are having good understand of Unix/Linux command and shell scripting.
In many domain like Telecom, Unix commands and shell scripting are basic prerequisite to start working.
This course is very useful for professional who are looking to do backend activities like data processing, log handling etc.
- Here we will cover Unix commands which we can use in daily activities and also we have covered many interview question which are asked in interviews.
Setup virtual machine(environment)
Unix Basics to advance commands for Software Testers
Basic commands
Check Log Files
Basic files and folder operation
File Search
Content Search
Memory related commands
CPU Processing
Merging of command outputs
Practice questions
Interview Questions
Shell Scripting
Many Practice sessions to check your knowledge
This course also contains AWK and SED command which are must for data processing with many conditions. Here you will start AWK and SED commands from very basic to expert level