課程資料
- 可獲發
- *證書的發放與分配,依課程提供者的政策及安排而定。
課程簡介
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.
課程章節
- 2 個章節
- 14 堂課
- 第 1 章 Intro to Grep
- 第 2 章 Intro to Sed
課程內容
- Use Grep Efficiently
- Understand Switches Properly
- Use Regular Expressions
此課程所涵蓋的技能
評價
-
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.