Linux Update Cheatsheet

DistroWatch offers a very nice cheatsheet on what basic commands the different flavors of linux use.  We’re talking the apt-get/yum/zypper stuff.

Source: DistroWatch.com: Put the fun back into computing. Use Linux, BSD.

[…]

Network Monitoring

Mill Yard Computing used to offer these tips for network monitoring. They have taken this down, so here it is for you:

iftop

On CentOS it is in the EPEL repo.

It shows a list of network connections and the data transferred over the past 2 sec, 10 sec & 40 sec (a bit like […]

Mounting drives (physical & image) on VirtualBox

To mount a physical hard disk onto a VirtualBox guest, we need to first create a VMDK configuration file which points to the physical disk, and then attach this VMDK file to the VirtualBox guest.

VirtualBox running on Linux:

VBoxManage internalcommands createrawvmdk -filename ~/sdd.vmdk -rawdisk /dev/sdd

Now attach ~/sdd.vmdk to your guest as normal

[…]

Use dd to image a disk

“dd” is the linux command for taking byte by byte copies of files. Since a hard disk behaves sort of like a big file in linux, we can use “dd” to take a copy or image.

It is a good idea to zero all free space on the original disk before taking the image. […]