remove/replace text/path in config file.

Lot of times I end up changing a particular text in config file to some other text. And when I…

Continue Reading →

create SQL-statements from textfile with awk

create SQL-statements from textfile with awk 1$ $ awk \'{printf "select * from table where id = %c%s%c;\\n",39,$1,39; }\’ inputfile.txt…

Continue Reading →

Execute mysql command from shell

phpMyAdmin is a very slow application if you want to execute a query on your database. If you know the…

Continue Reading →