Changing MySql User Password

The mysqladmin tool can be used for changing MySql user’s password. The following line of code will change the user1′s …

Revoking MySQL Root Privilege

If we lost the root privilege or password, it can be retrieved by the following steps :
Stopping MySQL :
Shell Command
/etc/init.d/mysqld …

Creating a playlist for mplayer

We can create the mplayer playlist by following some simple commands :
$ find [/path/to/directory/] -name “*.mp3″ -print > myplaylist.txt
$ mplayer …

Add Ip’s to a Linux Server

1. Login to the server as root user.
2.
cd /etc/sysconfig/network-scripts
3. Check for existing network adapters with the command:
ls ifcfg-*
4. Copy …

Magic Methods

PHP reserves all function names starting with __ as magical.
__sleep :- This function is executed …

Page 1 of 212