[Linux] Search File By Content
This is a short post, featuring a command to search file by content.
Update (2009-11-13): This is a better version from my cousin
This is a personal blog of Leong Hean Hong, recording the learning journey of a Jedi coder.
This is a short post, featuring a command to search file by content.
Update (2009-11-13): This is a better version from my cousin
Hello world! Long time no blog…
I work on 2 machines: 1 in office, 1 laptop at home. I have a linux username called ‘ahhong’, with a default group ahhong. All files/folders that I create will have a ahhong:ahhong default ownership. My apache server belongs to the www-data group. When I transfer files from USB drive, the files will have a ahhong:ahhong ownership, with 700 permission (or was it 744?). Sometime my web application failed to work because of this ownership/permission problem. This is the bash script, I wrote last night, to correct the ownership/permission problem:
References: