Pham Quỳnh
New member
How do I search for a word in SSH?
Answer
How to search folders, files and text via SSH?
Answer
How to search folders, files and text via SSH?
- find . – name FileName.txt. …
- find . – name “FileName*” …
- find . – type d. …
- find . – mtime -4. …
- grep “Images” configuration.php. If you don’t know which file contains the text, you can use:
- grep -r -H “Images” * …
- grep -l “Images” *