Ubuntu – What does the ‘grep’ command do

command linegrep

I would like to learn how to use it so I can start to use the terminal more.

Best Answer

  • grep is used to search for text from a file or another command's output. It can return the lines where it finds a match or the lines where it doesn't.

  • Related Question