Ahoy there! This is my personal blog which I use as my memory extension and a medium to share stuff that could be useful to others.

Archive for October, 2009

How to determine the Linux distribution

If you’re given access to a Linux machine without being told the Linux distribution being used, there are a couple of ways by which you can determine the Linux distribution

OPTION 1: Use the lsb_release utility.

The Linux Standard Base (LSB) is a joint project by several Linux distribution vendors working under the Linux Foundation, to develop and promote a set of open standards that will increase compatibility among Linux distributions and enable software applications to run on any compliant system even in binary form.

The lsb_release utility which is part of all Linux distributions which adhere to the LSB specification will print distribution specific information. Check the lsb_release manpage for details on usage. Example screenshots of using lsb_release on Ubuntu and Fedora distributions are given below:

 

lsb_release_ubuntu

 

lsb_release_fedora

 

OPTION 2: Check release files in /etc.

Linux distribution vendors typically include release files with details about the distribution, in the /etc directory. Screenshots of examples showing how to check such files on Ubuntu and Fedora are given below:

 

etc_release_ubuntu

 

etc_release_fedora

VN:F [1.6.5_908]
Rating: +1 (from 1 vote)

Today, the inaugural Airtel Champions League Twenty Twenty (CLT20) kicked off with the first match played between the Royal Challengers Bangalore (India) and the Cape Cobras (South Africa). The Cape Cobras won the match with some exceptional batting by Jean-Paul Duminy, scoring an unbeaten 99 of 52 balls.

With the T20 format becoming wholesome entertainment, I guess the Cricket Administrators took a cue from the UEFA Champions League and created CLT20. This year’s CLT20 includes 12 teams from 7 nations. However, the fact that the World T20 champion Pakistan isn’t represented in this year’s CLT20 is disappointing.

Here in the UK, I’m glad that I can watch the CLT20 on British Eurosport 2 (channel 411 on SKY).

Nowadays, there is always cricket to watch! Good for us fans, but cricketers need to have a very high level of fitness to avoid burn out. It will be the survival of the fittest!

VN:F [1.6.5_908]
Rating: 0 (from 0 votes)

If you’re familiar with the UNIX touch command to modify the access and modification times of a file or directory and are looking for an easy equivalent on Windows, you can use Stefan Küng’s SKTimeStamp. Stefan Küng is the lead developer of TortoiseSVN

Check out some screenshots of SKTimeStamp below:

Installation (note the Tortoise watermark)

SKTimeStampSetup

Timestamps on file before modification (note the TimeStamps tab)

SKTimeStamp adds a TimeStamps tab

 

Timestamps on file after modification

SKTimeStampAfterTime

VN:F [1.6.5_908]
Rating: +1 (from 1 vote)

Virtualization with Sun VirtualBox

With virtualization so popular, gone are the days when you would need to partition your hard drive and configure dual-boot to give you the option of running more than one OS on your computer.

Sun VirtualBox is a free, open source x86 virtualization software which allows you to create virtual machines (VMs) on your computer’s Operating System (host OS) and run other Operating Systems (guest OS) within the VMs. Sun VirtualBox is easy and intuitive to use and will enable you to quickly test an OS. Well, many OSes nowadays come with LIVE CDs/DVDs to enable you have a test run, but running these OSes in a virtualization software like Sun VirtualBox works better and faster.

Given below is a screenshot of my Sun VirtualBox console. As you can see, I use Sun VirtualBox to run three 64-bit guest OSes (Fedora 11, Solaris 10, Ubuntu 9.04). I have run 2 guest OSes simultaneously, each with 1 GB of allocated memory, without any issues (on my 4 GB Dell Studio XPS 16 laptop).

sun_virtualbox

VN:F [1.6.5_908]
Rating: +1 (from 1 vote)