How to print the files which has a string through out the server: Use this command:
find /www/*/httpdocs/ -type f -iname "*.php" | xargs grep 'string goes here'
From the journal
To find files which has specific text in your server.
How to print the files which has a string through out the server: Use this command: find /www/\ /httpdocs/ -type f -iname "\ .php" | xargs grep 'string goes here'
Explore this page ↓Keep reading
- tech / 2024
Embracing AI in Web Design: Top Tools to Elevate Your Workflow ↗
In today’s fast-paced digital landscape, web design companies are increasingly turning to artificial intelligence (AI) to streamline workflows, enhance creativity, and improve efficiency. With the…
- tech / 2024
GitHub repo for simple Next.js project ↗
I have been learning Next.js and here is my repo and a small demo of what I have done so far. GitHub Repo: https://github.com/ramchandev/anartby2 Quick Demo of these features: Pages: Home Page,…
- tech / 2024
How to consume data from Hygraph using Params – Part 2 ↗
You can get data from Hygraph using useEffect and useState. You can follow these steps: Create a file inside your app folder: app > (routes) > products > \ components > CatDetails.jsx Include Section…