satishgaudo.com

Understanding technology

Archive for January 30th, 2010

Linux commands

sed -i ’s/abc/xyz/g’ *.php This command is used for mass replacemet using regular expression. In the above command “abc” is replace with “xyz” from all the files extension “php”. find /var/www/html/sch_admin/ -mtime -1 This command is used to list all the files within the specified folder,say “var/www/html/sch_admin/”, which have been created or modified within the period specified,say “-1″ which [...]

30 January 2010 at 12:22 - Comments