Technology Weblog

Archive for the ‘tech’ Category

uTorrent 1.8 is Released !

August 11, 2008

The most popular torrent client uTorrent has relesed a new version with significant improvements. uTorrent latest release provides Full Vista support! IPv6 support Fixes several bugs and numerous enhancements You can download it from uTorrent site

Disabling the annoying system beep in Linux !

July 28, 2008

System beeps every time you press the backspace key one too many times, or just using emacs, can be quite disturbing. To shut them off: Just open your .bashrc file. vi ~/.bashrc and add the following xset b off xset b 0 0 0

Preventing man page contents from getting cleared

June 19, 2008

man pages are great help for learing new commands in *nix systems. There will be hardly any unix user who have not used it . When learning about new commands or options of commands using man pages it is a annoyance that man page contents get cleared on quiting man. We can change this behiavior […]

Cool trick to navigate directories using cd !

March 4, 2008

Everyone using Linux will like to use it to navigate easily between directories. Add the following code into .bashrc file. Now you can navigate foward and backward using cd ] and cd [ . Cool ! __COUNT=0 __BACK=0 cd () { if [ “${1}” = “[” ]; then if [ “${__BACK}” -lt “${__COUNT}” ]; then […]

Howto reset root password for a linux machine

February 21, 2008

Consider the case you forgot the root password of your Linux machine. Don’t panic ! You can reset it easily entering single user mode . Following are the run levels in linux. Runlevel 0: Halt System – To shutdown the system Runlevel 1: Single user mode Runlevel 2: Basic multi user mode without NFS Runlevel […]

Running PHP4 and PHP5 concurrently.

January 18, 2008

Running PHP4 and PHP5 There are many times when we need PHP4 and PHP5 to run concurrently on the server.In such cases we can Install one as apache module and other as CGI Install PHP4 or PHP5 as apache module. Lets install PHP5 as apache module Download PHP5 untar it and move to its directory. […]

Quick Keyword search using Firefox !

January 13, 2008

Most of the websites have site specific search (eg: We can use the keyword option in Firefox for quickly searching such websites. 1. Visit the website we need to search using Firefox.( For example or any site having search option ) 2. Right click within the search box. 3. Select “Add a Keyword […]

Perl commandline search and replace

December 22, 2007

There are many times when we need to search and replace certain words from files. Doing it manually will be very time consuming. One way to do it is using VI ( my favorite editor !) search n’ replace. The better option is using perl command line search and replace option. The syntax is the […]

Generating Random passwords using mkpasswd utility

December 4, 2007

We can generate random passwords using mkpasswd utility #mkpasswd 3b&Ao2xzM By default mkpasswd generates alpha-numeric passwords of length 9 with one special character. We can define length using -l option and special characters using option -s. Some times special characters in password may cause problems. #mkpasswd -l 8 -s 0 8ns5pTNr The above command creates […]

Resetting root mysql password

November 30, 2007

By default, MySQL Server will be installed with root superuser without any password. You can connect to MySQL server as root without requiring password or by keying in blank password. However, if you have set the password for root and forget or unable to recall the password, then you will need to reset the root […]