Загрузка...

Getting Started with grep and Regular Expressions

The command grep is a really simple tool to us to search for text in a file. But the real power comes when we start to add in regular expression meta-characters. Here we look at ^ meaning the text is at the start of a line and the ? denoting the preceding character is optional. In this was using grep -E we can search for commented setting or active settings within a file making the comment optional. Checking it is at the start of the line means that we are able to target text that is most likely active as a default or configured setting.

The 25 page PDF detailing GREP is available at http://bit.ly/grep_guide

Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Authors/Details/andrew-mallett and take time to see my own site http://www.theurbanpenguin.com

Видео Getting Started with grep and Regular Expressions канала theurbanpenguin
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки