Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn GREP and SED on Linux for Beginners
Rating: 4.3 out of 5(94 ratings)
2,377 students

Learn GREP and SED on Linux for Beginners

This course explores in details of two powerful tools grep and sed
Last updated 4/2016
English

What you'll learn

  • Use Grep Efficiently
  • Understand Switches Properly
  • Use Regular Expressions

Course content

2 sections14 lectures1h 14m total length
  • Introduction To The Course3:06

    Explore grep and sed on Linux for beginners, covering regex concepts, pattern matching, email and phone validation, piping outputs, and scripting.

  • Learn Switches : -i, -v, -c4:53
  • More on Switches : -l, -L, -n, -h4:00
  • Other Command Line Switches4:18
  • Piping Other Commands To Grep4:12
  • Meta Characters In Regular Expressions9:20
  • Example Of Validating E-mail Addresses7:05

    Apply grep with extended regex to extract valid e-mail addresses from a file, anchoring to line start, matching user and domain patterns, and saving results to a text file.

  • Example Of Validating US Phone Numbers9:02

Requirements

  • Any Linux Based Operating System
  • Knowledge of any Command Line is Helpful, but Not Necessary

Description

One of the most important tasks we undertake in Linux is processing text in files. This course explores two powerful tools we have to do this: grep and sed. Grep and sed find and manipulate text in files using regular expressions, which use special characters for searching and replacing text.

In the course, we’ll introduce regular expression syntax in the context of learning grep, then apply what we’ve learned as we work with sed. Topics include:

- finding text with grep
- regular expression syntax
- meta characters
- validating emails and phone numbers
- intro to sed
- replacing text in files
- line number addressing
- outputting only found lines
- printing line numbers
- adding text before and after lines
- simple sed scripts

The course is in two units, and runs just over an hour in length.

Who this course is for:

  • Any Fresher Who Wants to Learn Basic Linux Shell Commands
  • Any Fresher Who Wants to Learn Basic Regex
  • Expert who Needs to Brush up Regex Skills