How to discover what Linux distribution is in use

前端 未结 12 1578
青春惊慌失措
青春惊慌失措 2020-12-02 20:46

Sometimes I need to access some servers running Linux (or maybe another Unix-like SO), but I don\'t know how to verify which distribution is in use on the server (there are

12条回答
  •  北荒
    北荒 (楼主)
    2020-12-02 21:25

    You can use 'uname':

    [anton@localhost ~]$ uname -a
    Linux localhost 2.6.26-ARCH #1 SMP PREEMPT Tue Aug 26 21:15:43 UTC 2008 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
    

提交回复
热议问题