Just another trying-to-be-a-geek's blog
shoaibi
This user hasn't shared any biographical information
Homepage: http://cosp.org.pk/blog/shoaibi
Posts by shoaibi
Blog Moved
May 25th
I was having some issues and decided to outsource blog hosting at the cost of losing some control and saving time. New blog is located at http://error404notfound.posterous.com. See you there.
Multitail : Run tail on multiple files
Sep 18th
Many times in my life i have two terminal windows opens (or two workspaces inside terminator) just to watch two different log output using tail. One day i came to know about “multitail”. This is a tool that allows to to see tail of multiple files and good thing is you can decide how many column or rows to make. Try it on Ubuntu with:
apt-get install multitail
OR
aptitude install multitail
Terminator: Workspaces inside your terminal window
Sep 18th
Are you a sysadmin? How many times have you wanted to watch output of two different windows running a tail on log at the same time? If you are like me, i would say a lot of time, may be on daily basis. I used to wish if there was a way to divide terminal horizontally and vertical into workspaces each having its own session. And then i stopped wishing when i stumbled upon “Terminator”. Its a great app, you can divide your terminal into workspace horizontally and vertically as much as you want, there is no end to it More >
htop : top for colorful people
Sep 18th
Being a sysadmin by profession top is one of the command that i use most of the time when i face some issues. Now its a great tool, no denying that, but for my laptop which has colorful themes, icons, wdigets, even the terminal, it seems a bit out of league. So i use htop. Its same as top but provides things in more readable way by making things colorful and acii graphs of ram, processor and swap usage. You can install it by
apt-get install htop
OR
aptitude install htop
For details, check it man page.
Wajig
Sep 18th
I discovered this tool about a year ago and i fell in love with it. At start i used it to hold packages that i didnt want to get updated with others when i update system but later it became handy in other tasks as well. You can install wajig on ubuntu 9.04 by:
apt-get install wajig
OR
aptitude install wajig
and to just have an idea of what wajig is cable of check this.
Eml and HTML:Nimbda Virus cleanup using shell
Sep 18th
I encountered a system at office which was running Linux + wine and got infected by eml + HTML:Nimbda virsues due to copying and running an infect game from a windows host.
First let me explain how it works. You system will have .eml files almost everywhere within a directory where there is a html type file and this eml file will send spam emails (if you hosts, on which these files are located, supports sending emails). By itself these eml files are no harm as they can’t do anything. Problem comes in the second part. Here all you html type More >