Showing 1 Result(s)

What is grep and when/how to use it

Grep is a Unix tool used for searching content within files sitting on the server. The general syntax of the grep commands is: grep [-options] pattern [filename] You can use fgrep to find all the lines of a file that contain a particular word. For example, to list all the lines of a file named myfile in the current directory that …