How to Search PDF Files from the Terminal with pdfgrep by from on 2017-12-14 04:00 (#3AM57) Most of the search commands only read plain text files and not PDFs. To search PDF files from the terminal, you can use pdfgrep. Learn about pdfgrep here.