2013年8月2日 星期五

如何獲得Linux版本資訊

  1. 使用lsb_release -a
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 13.04
    Release: 13.04
    Codename: raring
  2. 使用uname -r
    $ uname -r
    3.8.0-27-generic
  3. 使用uname -a
    $ uname -a
    Linux xxx-lubuntu 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:19:35 UTC 2013 i686 i686 i686 GNU/Linux
  4. 使用cat /etc/issue*
    $ cat /etc/issue*
    Ubuntu 13.04 \n \l

    Ubuntu 13.04

沒有留言:

張貼留言