Course Information
- Available
- *The delivery and distribution of the certificate are subject to the policies and arrangements of the course provider.
Course Overview
This course explores in details of two powerful tools grep and sed
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.
Course Content
- 2 section(s)
- 14 lecture(s)
- Section 1 Intro to Grep
- Section 2 Intro to Sed
What You’ll Learn
- Use Grep Efficiently
- Understand Switches Properly
- Use Regular Expressions
Skills covered in this course
Reviews
-
RRobert Brown
Still a good (introductory) course on Grep 8 years on. I found the regex sections & explanations very useful. These can be built on further via online resources. Judging by the previous reviews it appears that course lecture questions from students sadly haven't been answered - nevertheless I found the course material, fairly straight forward and easy to follow - You can jump right in and try it out using Git Bash and a text editor if you are on 'windows.
-
JJacques Boyreau
Great course, it teaches how to use grep and sed, and how the regular expressions work. Thank you!
-
JJames Barat
really gave me a great start into grep and sed ; luckily the test / demo files were small so i could just type them in myself to test and experiment on ; I have always wanted to learn this and have gotten quite confused - but here i have learned at least how to create some starting regex patterns
-
NNicholas Dickenson
Very useful and informative. A subject that is explained well by the tutor.