You pass grep the string you want to search for as an argument, along with the filename ( GPL-3). Run the grep command below to search through the downloaded configuration file and highlight ( -color=always) the string GNU. Grep pattern license#Download the GNU General Public License as the example used in this tutorial to your working directory for an example configuration file.Ģ. Grep pattern how to#Related: How to Use PowerShell’s Grep (Select-String)ġ. Luckily, the grep command lets you highlight strings you’re looking for. Manually finding a string in a configuration file is possible but can hurt your eyes trying to differentiate one string from another having the same text color.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |