Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So I start up a Server and it ends at the console.I enter the username/password.How can I find out what Linux distro this is
version etc from the command line
on Debian based disributions you can simply run lsb_release -a. It will give you an output like so.
Code:
jared@Sarah:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0.3 (lenny)
Release: 5.0.3
Codename: lenny
jared@Sarah:~$
From that I know this machine is Debian 5.0.3 which is known as Debian Lenny. If you need to know more information you can use uname -a to find out what kernel version is running. This should tell you if you are 32-bit or 64-bit or if you are running a kernel design for a specfic CPU or a custom built kernel . I personally have an AMD 64-bit processor so I ahve a 64-bit version of Linux. if I run uname -a I get the following output
Code:
jared@Sarah:~$ uname -a
Linux Sarah 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64 GNU/Linux
jared@Sarah:~$
The 4 from version means that it's based on Debian version 4 (etch) if I'm not mistaking, which is the current oldstable release. Current stable release is 5 (lenny) on which *buntu 9 are build.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.