Find a file containing a text string on Linux
There is a very useful command in Linux, called grep. It is a utility for searching plain text files using regular expressions. You can either search files and folders as…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
There is a very useful command in Linux, called grep. It is a utility for searching plain text files using regular expressions. You can either search files and folders as…
If like me you need to check out the PHP error log, but its bloody massive, you might want to take the last few lines of it. tail -x log_file…