1) Script for finding username from /etc/trueuserowners file and save it user.txt file
cat /etc/trueuserowners | awk ‘{print $2}’ > user.txt
or
cat /etc/trueuserdomains | awk ‘{print $1}’ > user.txt
2) Script for remove .htaccess or any file from current(.) directory
find . -name .htaccess | xargs rm -rf

Leave a Comment