Archive for May, 2008

Copy a directory with all its contents in CentOS

This command will copy a directory with all its content to another directory,
for example you have a directory named x, you want to copy it to another directory named y
cp -dpr x y
That’s it!

Compressing with GZip and Zip in CentOS

Gzip
Type the following command to compress a file at a shell prompt
gzip filename.ext -> The file will be compressed and saved as filename.ext.gz
Type the following command to expand a compressed file
gunzip filename.ext.gz -> The filename.ext.gz is deleted and replaced with filename.ext
Type the following command to compress multiple files at a shell prompt
gzip filename.gz file1 file2 [...]

Change Default Home Directory for User in Centos

Everytime users created, it will keep per line inside /etc/passwd.
The line has the following characteristics:
1. It begins with the username.
2. There is an x for the password field indicating that the system is using shadow passwords.
3. A UID greater than 499 is created. (Under Red Hat Enterprise Linux/CentOS, UIDs and GIDs below 500 are reserved [...]

History of The Color Wheel

I didn’t know Sir Isaac Newton invented The Color Wheel

Nineteen Labs Redesign

I’ve been using ColdBlue theme since last year. Today, i’m starting to design a new theme for Nineteen Labs. Finally, my own theme on my own site. The design almost finish. It’s semi grid, i guess. I cannot preview the design now, cause i need to test some features.
Interesting part of new nineteen labs design [...]