Friday, January 7, 2011
Posted in
Linux
|
Sometimes, when you logged in a remote Ubuntu server, it will be easier to find out suitable packages if you know the version/code-name of it.
In gnome terminal, to get the Ubuntu version, use the following command:
to get the kernel version, use the following command:
In gnome terminal, to get the Ubuntu version, use the following command:
- $cat /etc/lsb-release
you will get some similar output as following:
DISTRIB_ID=UbuntuDISTRIB_RELEASE=10.10DISTRIB_CODENAME=maverickDISTRIB_DESCRIPTION="Ubuntu 10.10"
to get the kernel version, use the following command:
- $uname -a
Linux 2.6.35-generic #42-Ubuntu SMP Thu Dec 1 00:00:00 UTC 2000 x86_64 GNU/Linux
0 意見:
Post a Comment