Searching in Linux: Regular Expressions for Beginners
4.7 (47 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,004 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.7 (47 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,004 students enrolled
Created by Andrei Bunghez
Last updated 2/2016
English
Current price: $10 Original price: $20 Discount: 50% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 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
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 is the target audience?
  • Linux beginners and intermediate users.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
17 Lectures
01:11:49
+
Introduction
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
02:22

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

One Asterisk to Rule Them All - Wildcards
04:36

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

File Permissions
04:13

A few questions on setting and resetting file permissions

File Permissions
4 questions

You must be able to execute directories.

Directory Permissions
03:10
+
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
02:33

See which files take the most space.

... by Size
02:39

Put all criteria together in expressions.

Expressions
02:26

Take actions on the files you find.

Actions
04:52

... and even more actions.

... Even More Actions
04:47

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.

grep
03:26

Introduction to regular expressions.

Regular Expresisons Primer - part I
06:27

... continued.

Regular Expresisons Primer - part II
02:41

How to use grep together with regular expressions.

Grep and Regular Expressions
14:08

A few questions on regular expressions and grep

Grep and Regular Expressions
3 questions
About the Instructor
Andrei Bunghez
4.2 Average rating
81 Reviews
3,036 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!