且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

linux命令uname

更新时间:2021-09-09 20:18:28

Print certain system information。With no OPTION,same as -s。

    -a,--all     //print all information,in the following order.except omit -p and -i if unknows;
    -s,--kernel-name   //print the kernel name
    -n,--nodename  //print the network node hostname
    -r,--kernel-release    //print the kernel release
    -v,--kernel-version    //print the kernel version
    -m,--machine   //print the machine hardware name
    -p,--processor  //print the processor type or 'unknow'
    -i,--hardware-platform   //print the hardware platform or "unknow"
    -o,--operating-system    //print the operating system

       --help  //print the help and quit
       --version  //print the version info and quit