Archive for January, 2013

How can I Quit vi Editor without Saving Changes?

January 20th, 2013 No comments

To quit the vi editor without saving any changes you’ve made, perform the following command:

Type colon (:)
Type q! after colon and press enter

Any changes made are lost and quit from vi editor.

If you are currently in insert or append mode, press Esc.

Categories: Linux Tags:

How to find Windows Install Date

January 20th, 2013 No comments

Use the following command to find windows install date:

systeminfo | find /i “install date”

You will find the the result like this:

Original Install Date:     28/11/2011, 12:12:29 PM

Categories: Windows Tags: ,

How to Configure XManager on Linux

January 7th, 2013 1 comment

Open /etc/gdm/custom.conf and edit the security and xdmcp section like the followings:








Restart the system by the command:


Categories: Linux Tags: ,

How to Zip a File in Linux

January 6th, 2013 No comments

First navigate to the directory which the file resides:

cd /home/oracle

Then enter the following command:

zip SHLHCMDB_FULL_20130106.dmp

Press Enter

Categories: Linux Tags: