How to Tell What Version of Ubuntu You Are Running Paano Sabihin Ano Bersyon ng Ubuntu Sigurado ka Tumatakbo
Telling what version of Ubuntu you are running is extremely easy. Na nagsasabi kung ano ang bersyon ng Ubuntu ay ikaw ay nagpapatakbo ay lubhang madali. You would commonly use this command to figure out if you are running Edgy after you upgraded from Dapper. Gusto mo na karaniwang gamitin ang command na ito upang malaman kung ikaw ay nagpapatakbo ng nerbiyoso pagkatapos mong upgrade mula sa maselang nakasuot.
cat /etc/issue cat / etc / issue
Ubuntu edgy (development branch) Ubuntu nerbiyoso (pag-unlad ng sangay)
Note that the version numbers might change over time. Tandaan na ang numero ng bersyon na maaaring baguhin ang paglipas ng panahon. I'm running the beta version so that's what shows up when I run that command. Ko pinapatakbo sa beta version kaya na nagpapakita kung ano ang up kapag tumakbo ko na command. Either way, it should be clear that you are running Edgy. Alinman sa dalawa, ito ay dapat na malinaw na ikaw ay nagpapatakbo ng nerbiyoso.

Daily Email Updates Araw-araw na Updates Email
You can get our how-to articles in your inbox each day for free. Maaari kang makakuha ng aming kung-paano na mga artikulo sa iyong inbox sa bawat araw para sa libre. Just enter your name and email below: Ilagay lamang ang inyong pangalan at email sa ibaba:



I think that the file /etc/lsb-release should be more reliable Sa tingin ko na ang file / etc / lsb-release ay dapat na mas maaasahan
I agree w/ John — you don't really know what “issue” is used for, do you? Sumasang-ayon ako w / Juan - ikaw ay hindi talaga alam kung ano ang "isyu" ay ginagamit para sa, gawin mo?
I suggest you RTFM by: “man issue motd” Iminumungkahi ko sa inyo sa pamamagitan ng RTFM: "ang tao na isyu na motd"
The more paranoid you get, the less hints you give to non-authenticated users, y'know? Ang mas paranoyd makakuha ka, mas mababa magbigay ng paalala sa inyo na di-wasto ang mga gumagamit, y'know?
You are correct, lsb-release is a better option for ubuntu, but in my experience /etc/issue works across most linux varieties. Ikaw ay tama, lsb-release ay isang mas mahusay na pagpipilian para sa Ubuntu, pero sa aking karanasan sa / etc / issue gumagana sa buong pinaka varieties linux.
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 talagang lamang ng mga kopya ng impormasyon tungkol sa bersyon ng kernel ... at habang mas kapaki-pakinabang, ay hindi katulad ng sa bersyon ng ang OS.
For instance, uname -a on my dev server: Halimbawa, ang uname-a sa aking Dev server:
Linux superfast 2.6.17-10-server #2 SMP Tue Dec 5 22:29:32 UTC 2006 i686 GNU/Linux Linux superfast 2.6.17-10-server # 2 SMP Tue Dec 5 22:29:32 UTC 2,006 i686 GNU / Linux
No mention of Ubuntu in there. Walang banggitin ng Ubuntu sa doon.
$ uname $ Uname
Linux Linux
$_ $ _
I use: lsb_release in this way: Gagamitin ko: lsb_release sa ganitong paraan:
$ lsb_release -d -s -c $ Lsb_release-d-s-c
uname tell you the kernel vercion only not the distribution information uname sabihin sa iyo ang kernel vercion hindi lamang ang pamamahagi ng impormasyon
command for to know the version of the ubuntu now i am working command para malaman ang bersyon ng Ubuntu ngayon ako nagtatrabaho