Finding text in files in a folder
Quite often I find myself looking for files which contain the same text. Mainly config settings, etc. On linux you can use this: find ./ -type f -exec grep -l…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
Quite often I find myself looking for files which contain the same text. Mainly config settings, etc. On linux you can use this: find ./ -type f -exec grep -l…
If you have large JSON files with application settings in, you need to be sure that the settings only appear once. Not a problem until you get to the stage…
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…