linux grep commands we need to remember

You are here

Grep is a powerful tool but remembering the commands at times does affect your ability to be productive because you don't use it all the time and to recall them can be a headache. Below are important ones I uses at times


Searching a document for a word

~$ grep <searchterm> or <"search term">  <path/filename>