< Browse > Home / Archive by category 'Linux / Unix'

| Mobile | RSS

Removing uy7gdr5332rkmn malware

How to bulk remove uy7gdr5332rkmn malware using shell commands.

[ More ] December 24th, 2011 | No Comments | Posted in Linux / Unix |

Extract single/multiple tables from MySQL dumpfile

An year back I posted on how to extract a single table from a MySQL dump file. Today, I decided to write a shell script to automate the whole process. Now it is possible to extract a single table or a range of tables from a dump file with a single command. Usage The script [...]

[ More ] December 2nd, 2010 | 3 Comments | Posted in Linux / Unix, Programming |

View currently running MySQL queries in realtime

Sometimes you might want to view MySQL queries as and when they are being executed. This is possible with the MySQL General Query Log. In this post, I try to explain how to use query logging feature to view live running MySQL queries.

[ More ] July 18th, 2010 | 1 Comment | Posted in Linux / Unix, Web Development |

Split header and footer into separate files using awk

Saving header and footer from a file into separate files using AWK.

[ More ] April 20th, 2010 | No Comments | Posted in Linux / Unix |

Saving wget file with different filename

Anyone who has worked with Linux must be familar with the wget utility. wget utility allows you to download files from a remote server using HTTP, HTTPS and FTP protocols. Downloading files using wget is as simple as wget http://www.joycebabu.com/my-photo.jpg Where http://www.joycebabu.com/my-photo.jpg is the file to be downloaded. By default wget saves the file with [...]

[ More ] January 4th, 2010 | Comments Off | Posted in Linux / Unix |

Copying multiple files simultaneously using scp utility

How to copy multiple files using the Secure Copy (scp) utility.

[ More ] January 1st, 2010 | 2 Comments | Posted in Linux / Unix |

Extract single table from a mysql dump

Update: I have written a  wrapper script for extracting single/multiple tables from a dumpfile. Now it is possible to extract tables with single command. Visit The other day, while working with the MySQL database of one of my sites, I accidentally damaged one of the tables irrecoverably. Fortunately, I was using AutoMySQLBackup script to backup [...]

[ More ] July 15th, 2009 | 2 Comments | Posted in Linux / Unix |