Search for files starting in the / directory named resolv.conf
# find / -name resolv.conf -type f -print |
Searches for files starting in the root directory the start with host
# find / -name “host*” -type f -print |
Finds all .html files in /usr/share/apache2/default-site/ and changes the permissions to 644 (rw-r-r–).
# find /usr/share/apache2/default-site -name “*.html” -type f -exec chmod 644 {} ; |
Leave a Comment