How to Find a specific keyword in whole public_html via SSH? [EASY GUIDE]☑️
Today in this article we will describe you how to find a keyword under whole public html via SSH terminal. So in order to find a specific keyword in whole public_html you have to follow the instruction given below.But before getting started let us quick watch this short video tutorial on how to find keyword via SSH.
First you have to enter to the path. For that run the following command:
After executing this command you will reach to public_html of that particular cPanel account.
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.
So in this way you can easily search for any keyword present inside any file among thousands of files on your server via SSH.
That’s all, we hope this video helped you learn how to find a keyword under whole public html via SSH terminal.