Searching in Linux: Regular Expressions for Beginners
4.3 (50 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
2,012 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Searching in Linux: Regular Expressions for Beginners to your Wishlist.

Add to Wishlist

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.
4.3 (50 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
2,012 students enrolled
Created by Andrei Bunghez
Last updated 2/2016
Current price: $10 Original price: $20 Discount: 50% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 1 hour on-demand video
  • 2 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I 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
View Curriculum
  • Little to none experience with a Linux system
  • A host or a virtual machine running Linux is needed

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 is the target audience?
  • Linux beginners and intermediate users.
Compare to Other Linux Courses
Curriculum For This Course
17 Lectures
1 Lecture 02:03

Quick walk-through of the curriculum of this course.

Preview 02:03
Linux Folder Structure
5 Lectures 18:38

How to navigate around the Linux directory structure. So you think you know all about the cd command...?

Preview 04:17

Watch this lecture to see what ls can do.

Look Inside Folders

Basic file matching using the *,?,[] and {} wildcards.

One Asterisk to Rule Them All - Wildcards

You will learn how to keep others from overwriting your files.

File Permissions

A few questions on setting and resetting file permissions

File Permissions
4 questions

You must be able to execute directories.

Directory Permissions
findutils - find and locate
7 Lectures 24:26

Search for files based on their name.

Preview 03:58

Find files based on their owner.

... by User

See which files take the most space.

... by Size

Put all criteria together in expressions.


Take actions on the files you find.


... and even more actions.

... Even More Actions

Recap of the find options

The find Command
2 questions

Find files faster with locate and updatedb.

Preview 03:11
Searching in Files - grep
4 Lectures 26:42

Search inside file using grep.


Introduction to regular expressions.

Regular Expresisons Primer - part I

... continued.

Regular Expresisons Primer - part II

How to use grep together with regular expressions.

Grep and Regular Expressions

A few questions on regular expressions and grep

Grep and Regular Expressions
3 questions
About the Instructor
Andrei Bunghez
4.4 Average rating
86 Reviews
3,050 Students
2 Courses
Embedded Software Engineer | PM | Android Rookie

Hello! I am a passionate software engineer working mostly in the embedded networking world. I have a degree in Computer Science from the Politechnica University in Bucharest, major in Compilers and Operating Systems and have recently obtained an Android Developer Nanodegree from Udacity.

I have been an embedded software engineer for the past 12+ years, developing and maintaining software for a range of Ethernet devices. During this time I have been responsible for various parts of these systems, ranging from the higher levels of networking protocols like VLAN, STP, SNMP to chip drivers and distributed programming across Ethernet switches. At some point I started leading software releases and did a partial shift to project management, while still maintaining a keen interest in the embedded software practice. In the past few years I have added Android and Arduino on my list of interests and I am now working on a small pet project related to air quality, tying these two platforms together.

I usually prefer learning by example. So, it is only natural that this becomes my preferred way of teaching as well. My lectures are filled with examples that illustrate the main presented concept or topic.

I'm looking forward to seeing you in my courses!