Extracting RPM Files

Linux No Comments »

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 -iv

This will extract the contents of the RPM file.

Installing SLED10 SP1 on EeePC Part 2

EeePC, Linux, Novell, sled No Comments »

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.
Read the rest of this entry »

Changing Line Indentation in VI

Linux, vi No Comments »

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.

Read the rest of this entry »

Changing the Tab Size in VI Editor

Linux, vi No Comments »

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
Read the rest of this entry »

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in