Tag Archives: work

Linux commands to help me work

Search for files and directories given text, a very useful feature when you want to find the text and does not know where the file or directory is.

grep -i -n -r 'Search string' /var/www/path/

shows how many times is the search text in the text and returns the result in numbers.

cat access.log|grep 'Search string' | wc -l


while true; do COMMEND; done