1.ver命令不显示sp几 C:\>ver Microsoft Windows XP [Version 5.1.2600] C:\> 08: C:\Users\Administrator>ver Microsoft Windows [版本 6.1.7601] 2.systeminfo | findstr /B /C:"OS Name" /C:"OS Version" , 在XP, Vista and Windows 7 and on Server
有时候安装完自己的linux发行版系统(如ubuntu.centos.redhat.opensuse.--)时,把版本信息忽略了,又不想重启电脑,此时我们可以通过命令行方式来查看: 1.cat /etc/issue 2.lsb_release -a 其中lsb代表什么呢?LSB:Linux Standard Base. 3.cat /etc/redhat-release(针对redhat,Fedora)