Searching in Linux: Regular Expressions for Beginners
MP4 | Video: 1280×720 | Duration: 1 Hours | 175 MB
Author: Andrei Bunghez | Language: English | Skill level: All Levels
Find the files you are looking for and select only the useful lines with find, grep and regular expressions !
Do you want to master regular expressions? Would you like to be able to search for files from the Linux command line based on their name, owner, permission or size? Do you want to be able to perform an action on any file of a specific type? Take this course and find out how.
This course will first take you through the basics of command line, changing and listing directories, wildcards, file and directory permissions. Even if you are an experienced Linux user, you might learn some interesting things from these lectures.
After this, you will go through the options, expressions and actions that are supported by the find command. You will be able to find files that, for instance, are owned by a particular user and exceed, or are under, a specific size. Or, you will be to do specific actions on specific files at the same time with only one command (e.g. create multiple archives based on the file types). I will also teach you about the locate command and its advantages and disadvantages over find.
The third section is about grep and regular expressions. I will help you take your first steps in learning regular expressions. They are a very powerful pattern matching tool. You will be able to use them together with grep to select particular lines inside files or on streams received at the standard input. You will see plenty of examples to understand what the metacharacters of regular expressions actually mean and how to use them to match strings.