How to Search for Document/File with find and grep Commands on Linux/Unix

March 11, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Refining find Results with a grep Shell Pipe

The Linux/Unix Tip Show How to easy Searching for Documents and Files on Shell Command Line Terminal.

To Achieve the Result I’ll Make simply use of a Shell Pipeline with the ‘find‘ and the ‘grep‘ Terminal Shell Commands.

Linux How to Find/Search for Documents/eBooks - Featured
  1. How to Easy Search for Files/Directories/Paths on Command Line

    Shell find Command Quick Start
  2. Using find & grep to Searching for Document/eBook

    find /PATH/2/START -iname KEYWORD | grep EXTENSION

    Example:

    find $HOME/Downloads -iname bible | grep .pdf

    Some of used Documents Extension to Include are: doc/pdf/mob/epub.


Tags: , , , , , , , , ,

QuickChic Theme • Powered by WordPress