Problem With Solutions

Something Different In Linux

some IMP script

Posted by Rishikesh Vispute Categories: Shell Programming and Scripting

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


Page optimized by WP Minify WordPress Plugin

Optimized by SEO Ultimate