Make KDE as default

October 24, 2008

To make your system to boot with KDE by default, do as below.

Edit /etc/sysconfig/desktop as below.

DESKTOP=”KDE”
and
DISPLAYMANAGER=”KDE”


Export a column to a file on MYSQL

October 24, 2008

If you need to export the contents of a column to a file, please do as below.

SELECT City, Zipcode FROM my_table INTO OUTFILE 'export.dat'