Hello. My name's Kate. I love Linux, WordPress - owned a WordPress dedicated design studio, a beginner entrepreneur who co-founded Asia software company. This is where i blog about Linux, WordPress, daily life and other interesting stuff
Status: -

You are on the Nineteen Labs weblog archives for June, 2007.

OUR ARCHIVES : June 2007

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 file3 -> will compress file1, file2, file3 and put them in filename.gzip.

Zip
Type the following command to compress a file at a shell prompt
zip -r filename.zip files -> filename represents the file you are creating and files represents the files you want to put in the new file

Type the following command to expand a compressed file
unzip filename.zip

Type the following command to compress multiple files at a shell prompt
zip filename.zip file1 file2 file3 -> will compress file1, file2, file3 and put them in filename.zip

If you add directory to multiple files
zip filename.zip file1 file2 file3 /user/work/school -> will compress file1, file2, file3, the contents of the /user/work/school directory and put them in filename.zip

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 for system use.)
4. A GID greater than 499 is created.
5. The optional GECOS information is left blank.
6. The home directory
7. The default shell is set to /bin/bash.

Open /etc/passwd with VI :
#vi /etc/passwd

Find username that you want to change its default home directory, press i (for insert in VI) then retype a new home directory. DO NOT CHANGE OTHER INFORMATION, just home directory (e.g /home/username/). Then press wq! (for write and quit in VI)

You can set a home directory when you created user by adding -d to useradd , e.g useradd -d

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 is that the design come from so simple or simple blue themes. Yes, that’s an upgrade from my free themes.

Do i have a plan to launch nineteen labs theme into my next free theme?
I can’t answer that right now. But i can assure you that i’m going to fix simple blue theme. I’ll add gravatar into comment feature. I realized that simple blue theme doesn’t have gravatar add-on.

Hopefully new Nineteen Labs and Simple Blue additional feature will be online soon

Pixel Insert online

Pixel Insert ver 1.0

This is my design studio , concentrated on WordPress.
We are offering highly customized WordPress sites and blogs with all in one solutions.
Meaning, we also offering web hosting with WordPress setup and the design

This site powered : WordPress. Made with PC (sorry, MAC), Coffee and Tofu