| Linux Forum Index » Linux Miscellaneous Topics » How do I know which Linux distribution I am using?... |
|
Page 1 of 1 |
|
| Author |
Message |
| pirata... |
Posted: Tue Jul 08, 2008 10:50 pm |
|
|
|
Guest
|
Hi all,
I wonder what's the best way to determin which Linux distribution I am using
through command line interface? I have no phisical access to the PC, i got ssh
connection only.
Thanks |
|
|
| Back to top |
|
|
|
| Bit Twister... |
Posted: Wed Jul 09, 2008 4:55 am |
|
|
|
Guest
|
On Tue, 08 Jul 2008 22:50:31 -0500, pirata wrote:
Quote: Hi all,
I wonder what's the best way to determin which Linux distribution I am using
through command line interface? I have no phisical access to the PC, i got ssh
connection only.
Depends on distribution and release. In no particular order:
lsb_release -a
cat /etc/*release
cat /etc/*version
cat /proc/*version |
|
|
| Back to top |
|
|
|
| Anthony N... |
Posted: Sun Jun 07, 2009 3:18 pm |
|
|
|
Guest
|
In article <slrng792nt.amp.BitTwister at (no spam) wm81.home.test>, BitTwister at (no spam) mouse-
potato.com says...
Quote:
On Tue, 08 Jul 2008 22:50:31 -0500, pirata wrote:
Hi all,
I wonder what's the best way to determin which Linux distribution I am using
through command line interface? I have no phisical access to the PC, i got ssh
connection only.
Depends on distribution and release. In no particular order:
lsb_release -a
cat /etc/*release
cat /etc/*version
cat /proc/*version
Why did you type the * before release or version? Because if you ls /etc
or /proc then you will see that the file is called release or version.
--
Anthony N |
|
|
| Back to top |
|
|
|
| Bit Twister... |
Posted: Sun Jun 07, 2009 8:27 pm |
|
|
|
Guest
|
On Sun, 7 Jun 2009 17:18:56 -0400, Anthony N wrote:
Quote: In article <slrng792nt.amp.BitTwister at (no spam) wm81.home.test>, BitTwister at (no spam) mouse-
potato.com says...
On Tue, 08 Jul 2008 22:50:31 -0500, pirata wrote:
Hi all,
I wonder what's the best way to determin which Linux distribution I am using
through command line interface? I have no phisical access to the PC, i got ssh
connection only.
Depends on distribution and release. In no particular order:
lsb_release -a
cat /etc/*release
cat /etc/*version
cat /proc/*version
Dang, you are a year behind in your reading. :-)
Quote: Why did you type the * before release or version?
The OP needed to see the different file names.
Quote: Because if you ls /etc
or /proc then you will see that the file is called release or version.
One more time, Depends on Distribution and version.
/etc/lsb-release
/etc/mandrakelinux-release
/etc/mandrake-release
/etc/mandriva-release
/etc/redhat-release
/etc/release |
|
|
| Back to top |
|
|
|
|