[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

Posted in Blog at November 11th, 2009. 2 Comments.

[Linux] Permission/Ownership Correction

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:

Posted in Blog at August 7th, 2009. 3 Comments.