You can use the below given command to find a keyword inside whole public_html or any directory via SSH.

First you have to get into the particlar directory. For that run the following command:

cd /home/username/public_html

Now in order to find a specific keyword in whole public_html of that cPanel account you just need to execute the command given below:

grep -Ril "IMAGES"

The above command instructs grep to look for the Keyword “IMAGES” in the whole public_html and display the containing line.
Check out the blog and video tutorial to learn the detailed  

Was this answer helpful? 0 Users Found This Useful (0 Votes)