Which Debian or Ubuntu are you using?

Written by MyComputerAid on Wednesday, February 4, 2009 13:33 - 0 Comments
Tags: ,

Normally you know which version of a given distro you are running if you are on your machine, but what if you are on a rented server, or a friend’s machine.

If you want to know which version of Debian or Ubuntu you are running, you can always check the /etc/apt/sources.list there you will see the version you are running but a better way is to run this on a terminal:

lsb_release -a 

The output in my Debian Box is:

Distributor ID: Debian
Description: Debian GNU/Linux 5.0 (lenny)
Release: 5.0
Codename: lenny

You can also run this in a Debian Linux.

cat /etc/debian_version 

In my Debian box this is the output:

5.0

I do not have an Ubuntu machine now, but I can remember that if you run this on an Ubuntu Linux, you will get

sid

For the output, as Ubuntu is based on Debian sid.

 


 

Article written by MyComputerAid.com

Related posts:

  1. What is the most popular Linux?
  2. Easily Install 9 Really Nice Ubuntu themes
  3. Ubuntu – Reboot your system and force disk scan/check
  4. Clearing Package Cache on Debian/Ubuntu
  5. How to change your default editor -Debian/Ubuntu-
  6. Open source free operating systems – Windows alternatives
  7. Enable remote desktop in Vista
  8. Linux mail servers
  9. NAP Client state – Three ways to check the state.
  10. Running IE from the command line



Leave a Reply

You must be logged in to post a comment.

2003 server - Sep 30, 2008 22:34 - 0 Comments

instant messaging srv records

More In Computers & PC


Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments

Outlook: Duplicates in Mailbox

More In Computers & PC