How to Tell What Version of Ubuntu You Are Running Ako zistiť, akú verziu Ubuntu You Are Running
Telling what version of Ubuntu you are running is extremely easy. Ťažko povedať, čo verziu Ubuntu používate, je veľmi jednoduché. You would commonly use this command to figure out if you are running Edgy after you upgraded from Dapper. By ste bežne používať tento príkaz zistiť, či používate Edgy po upgrade z Dapper.
cat /etc/issue cat / etc / issue
Ubuntu edgy (development branch) Ubuntu edgy (vývojovej vetvy)
Note that the version numbers might change over time. Všimnite si, že čísla verzií môže časom zmeniť. I'm running the beta version so that's what shows up when I run that command. I'm running beta verziu, takže to, čo sa objaví pri spustení tohto príkazu. Either way, it should be clear that you are running Edgy. Či tak alebo onak, malo by byť jasné, že máte spustený Edgy.

Daily Email Updates Denný Svářeč
You can get our how-to articles in your inbox each day for free. Môžete si naše jak-na články vo vašej schránky každý deň zadarmo. Just enter your name and email below: Stačí zadať svoje meno a e-mail nižšie:



I think that the file /etc/lsb-release should be more reliable Myslím si, že súbor / etc / lsb-release by mal byť spoľahlivejšie
I agree w/ John — you don't really know what “issue” is used for, do you? Súhlasím s tým, w / John - ste naozaj neviem, čo znamená "problém" sa používa, čo?
I suggest you RTFM by: “man issue motd” Navrhujem, aby ste RTFM slovami: "muž motd vydanie"
The more paranoid you get, the less hints you give to non-authenticated users, y'know? Viac paranoidné dostanete, tým menej budete dávať rady, ktoré nie sú-overené užívateľa, vieš?
You are correct, lsb-release is a better option for ubuntu, but in my experience /etc/issue works across most linux varieties. Máte pravdu, lsb-release je lepšia voľba pre ubuntu, ale podľa mojej skúsenosti / etc / issue funguje cez väčšinu linux odrôd.
uname ? uname?
uname really just prints information about the kernel version… and while much more useful, is not the same as the version of the OS. uname naozaj len vypíše informácie o verzii jadra ... a pritom oveľa užitočnejšie, nie je rovnaká ako verzia operačného systému.
For instance, uname -a on my dev server: Napríklad uname-dev na mojom serveri:
Linux superfast 2.6.17-10-server #2 SMP Tue Dec 5 22:29:32 UTC 2006 i686 GNU/Linux Superrychlý Linux 2.6.17-10-server # 2 SMP Tue 5.prosince 22:29:32 UTC 2006 i686 GNU / Linux
No mention of Ubuntu in there. Žiadna zmienka o Ubuntu tam.
$ uname $ Uname
Linux Linux
$_ $ _
I use: lsb_release in this way: I use: lsb_release týmto spôsobom:
$ lsb_release -d -s -c $ Lsb_release-d-s-c
uname tell you the kernel vercion only not the distribution information uname ti jadro vercion len nie distribúcie informácií
command for to know the version of the ubuntu now i am working príkaz pre poznať verziu ubuntu teraz pracujem