RHEL7.0以下,查看系统版本的方式: [rusky@rheltest1 ~]$ cat /proc/version Linux version -.el6.x86_64 (mockbuild@x86-.build.bos.redhat.com) (gcc version (Red Hat -) (GCC) ) # SMP Wed Jun :: EDT [rusky@rheltest1 ~]$ uname -a Linux rheltest1.com -.el6.x86_64 # SMP
1. uname -a you will view kernel name.network node hostname.kernel release.kernel version.machine hardware name.processor type .hardware platform.operating system 2. cat /proc/version his file will not show you the name of the actual OS release, but
1. uname -ayou will view kernel name.network node hostname.kernel release.kernel version.machine hardware name.processor type .hardware platform.operating system 2. cat /proc/version his file will not show you the name of the actual OS release, but w
博客分类: linux LinuxRedHatDebianSuSE 几种查看linux版本信息的方法: uname -a cat /proc/version cat /etc/issue lsb_release -a 详解 lsb_release -a 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: [root@3.5.5Biz-46 ~]# lsb_release -a LSB Version: 1.3 Distributor ID: RedHatEnterp
Linux系统运维笔记 查看系统版本和设置系统时间 查看系统版本 lsb_release -a (适用于所有的linux,包括Redhat.SuSE.Debian等发行版,但是在debian下要安装lsb) 一步到位,设置系统时间: date -s "20091112 18:30:50" &&hwclock --systohc 查看时区和时间 date //CST:中国标准时间(China Standard Time) //UTC:协调世界时,又称世界标准时间,简称UT