linux查看linux版本linux下查看版本RAR FOR LINUX,内核版本linux下查看版本系统位数linux环境变量,gcc版本查看linux版本sunny@ubuntu:~$cat/etc/issueUbuntu11。04sunny@ubuntu:~$cat/proc/versionLinuxversion2。6。38-13-generic(buildd@rothera)(gccversion4。5。2(Ubuntu/Linaro4。5。2-8ubuntu4)#57-UbuntuSMPMonMar18:10:14UTC2012uname命令sunny@ubuntu:~$unameLinuxubuntu2。6。38-13-generic#57-UbuntuSMPMonMar18:10:14UTC2012i686i686i386GNU/Linux--allprintallinformation,followingorder,查看全部信息exceptomit--kernel-nameprintkernelname查看内核名字--nodenameprintnetworknodehostname--kernel-releaseprintkernelrelease查看内核发行版本--kernel-versionprintkernelversion查看内核版本--machineprintmachinehardwarename--processorprintprocessortype--hardware-platformprinthardwareplatform--operating-systemprintoperatingsystem查看操作系统--helpdisplayexit--versionoutputversioninformationsunny@ubuntu:~$getconfWORD_BIT322)sunny@ubuntu:~$file/bin/bash/bin/bash:ELF32-bitLSBexecutable,Intel80386,version(SYSV),dynamicallylinked(usessharedlibs),GNU/Linux2。6。15,stripped查看gcc版本sunny@ubuntu:~$gcc--versiongcc(Ubuntu/Linaro4。5。2-8ubuntu4)4。5。2

本文原创地址:https://www.linuxprobe.com/nhbbs.html编辑:刘遄,审核员:暂无