Get list of the installed packages from debian distributions for documentation

When documenting my server installation I needed to have a list of packages installed on my server. dpkg –get-selections is great help but it returns values/packages each on separate line including “installed” keyword. This command returns list of installed packages in the single block separated with single space:
dpkg –get-selections | awk ‘{ print $1; }’| [...]

Reduce compression size of vmware linux virtual machine on ext2,ext3 file system

As I need from time to time compress my vmware virtual machine I needed to find out the way to compress it to a minimum size possible. Even, I removed all unnecessary files from my file system the actual compressed file of my vmware virtual machine did not reduce on size. The reason for this [...]

Mount iso image ( ISO 9660 filesystem ) with linux mount command

Instead of burning all images to cd / dvd disks is sometimes better and quicker to just mount row iso 9660 file system to your Linux. Lets say that we want to mount myiso9660.iso image.
First create mount point:
mkdir /mnt/myiso
Then mount iso with linux mount command:
mount -t iso9660 myiso9660.iso /mnt/myiso -o loop
All files can be accessed [...]