To only show the file names and not a preview of data add the command line param -l to grep. The below example searches in
This command will search through your hard drive using the string command piped to the grep command. Swap /dev/sdc for your actual drive which can
Grep is too important not to know for Linux sysadmins. Grep is commonly combined with other commands via pipes to search and filter standard output.
Grep is often most powerful when examining the output of other shell commands. This example searches the Linux processes from the ps command for apache.