Linux search file by content using grep January 8, 2017 Published by: admimin in any Linux, there are lots of rich command that we can use it through the console / command mode. Like searching for the text inside the file. Here is my example. $grep ‘text’ *.doc And many others.