Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu How to find all files containing specific text

grep -r "mydomain.com" /etc/apache2/

# -r - recursive

# in current directory use "."

grep -r "mydomain.com" .
 
PREVIOUS NEXT
Tagged: #ubuntu #How #find #files #specific #text
ADD COMMENT
Topic
Name
3+8 =