sudo apt-get install phpmyadmin
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo service apache2 restart
Find
grep -rl "STRING THAT YOU WANT" *
Also note that this does not search hidden directories. The find examples given previously do. I prefer to use xargs in combination with find and grep since it doesn't suffer any size limitations. These find examples will show you the names of the files that contain the pattern or "STRING THAT YOU WANT"
find / -type f | xargs grep -l pattern
or from the current working directory
cd /somedirectory
find . -type f | xargs grep -l "STRING THAT YOU WANT"
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo service apache2 restart
Find
grep -rl "STRING THAT YOU WANT" *
Also note that this does not search hidden directories. The find examples given previously do. I prefer to use xargs in combination with find and grep since it doesn't suffer any size limitations. These find examples will show you the names of the files that contain the pattern or "STRING THAT YOU WANT"
find / -type f | xargs grep -l pattern
or from the current working directory
cd /somedirectory
find . -type f | xargs grep -l "STRING THAT YOU WANT"
No comments:
Post a Comment