Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Searching in Linux: Regular Expressions for Beginners
Rating: 4.2 out of 5(73 ratings)
2,129 students

Searching in Linux: Regular Expressions for Beginners

Find the files you are looking for and select only the useful lines with find, grep and regular expressions.
Created byAndrei Bunghez
Last updated 2/2016
English

What you'll learn

  • Find any file on a Linux filesystem
  • Use regular expressions in able to select files containing matching patterns.
  • Master the find, locate and grep commands
  • Understand Linux filesystem structure and file permissions

Course content

4 sections17 lectures1h 11m total length
  • Introduction2:03

    Quick walk-through of the curriculum of this course.

Requirements

  • Little to none experience with a Linux system
  • A host or a virtual machine running Linux is needed

Description

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.

Who this course is for:

  • Linux beginners and intermediate users.