msgbartop
Of Linux, Programming, and Singaporean Ramblings
msgbarbottom

15 May 08 Extracting RPM Files

To extract the contents of a RPM file, you need the rpm2cpio and the cpio tools. Use them this way:

rpm2cpio name_of_package.rpm | cpio -tv

This will extract the contents of the RPM file.

Tags: , ,

15 May 08 Installing SLED10 SP1 on EeePC Part 2

In the previous post, I described how to create the installation thumb drive. After creating the installation thumb drive, the next step, of course, is to use it to install.
(more…)

11 May 08 Changing Line Indentation in VI

Further to my previous post on changing the tab size in the VI editor, I’ve found out how to change the indentation size in VI.

(more…)

06 May 08 Changing the Tab Size in VI Editor

The vi editor is a powerful editor. Problem with it is that it is only for the command line which means that many preferences are not accessible via a ‘Preferences’ page. You need to know how to set preferences using commands.

Recently I’ve found out how to change the tab size in the vi editor. I think by default the tab size is 8 characters, which is too long for coding with proper indentation. To change it to a four character stop, use the following command in command mode:

:set tabstop=4
(more…)

Tags: