Linux / Unix Tips and Tricks

This blog contains Linux / Unix Tips and Tricks, collected during my work as a Unix System Administrator.
They are here for my own reference, but they might help you as well !

Linux: How to extract a single file from a RPM package

len | 12 December, 2008 12:20

I once got myself in the situation where I had no option but to retrieve a missing file from a rpm package. I didn't want to install the whole rpm, but only extract the missing file. Here's an example how to extract the original httpd.conf from the httpd package: (More)

Solaris: Determinate to which package a file belongs

len | 12 December, 2008 11:45

I had an issue with software which was complaining about the version of /usr/lib/libCstd.so.1
So I wanted to know to which package this particular file belongs, in order to see if there are any updates available for this package. Here's how to do it:

 (More)

fsck: Filesystem has unsupported features

len | 12 December, 2008 10:49

Last month I have migrated several physical Linux servers to VMWare using this excellent howto: Virtualize a Server with Minimal Downtime

After migrating an old RedHat 9 server to VMWare, I got an error saying fsck.ext3: Filesystem has unsupported features.
This is because RedHat 9 does not understand the new file system features created with the Knoppix boot CD. Luckily, the unsupported file system features can be easily removed. Here is how I did it:

 (More)

 
Accessible and Valid XHTML 1.0 Strict and CSS
Powered by LifeType - Design by BalearWeb