Posts archive for April, 2010

How to move cursor to end of line in vi editor

advertisement

linux, macIt’s very slow to move the cursor to the end of a long line in vi editor. But if you know the shortcut key, move cursor to end of the line is just a key press. Holding the right button and wait the cursor move to the end of the line is a slow method, wat we need is fast and efficient.

To move cursor to the end of a line, follow the steps below:-

Continue reading How to move cursor to end of line in vi editor »

How to clear print job that cannot be clear in Win 7

advertisement

windows, ms windowsI always got the print job that cannot be clear in Win XP and Win 7. No matter how you clear the print job, right click at the print job and click cancel or click on Printer -> Cancel all documents. The print job still stuck there.

To clear print job that cannot be clear in Win 7, follow the steps below:-

Continue reading How to clear print job that cannot be clear in Win 7 »

How to check Linux distribution and version?

advertisement

linuxIf u are on an unknown server and keen to know it’s linux distribution info, you can check the linux distribution info by just a single command (eg. version, codename, etc). Just tested this command in UBuntu and CentOS, both return as what i expected. 🙂

To check linux distribution and version, follow the steps below:-

Continue reading How to check Linux distribution and version? »