Display details of your Linux version

Script ./check_version.sh

#!/bin/bash
#
set -x
lsb_release
uname -a
rpm -qa | grep uek

Script Output

[root@grac41 ~]#  ./check_version.sh
+ lsb_release
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
+ uname -a
Linux grac41.example.com 2.6.39-400.214.4.el6uek.x86_64 #1 SMP Tue Mar 25 18:05:58 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
+ grep uek
+ rpm -qa
kernel-uek-debuginfo-common-2.6.39-400.214.4.el6uek.x86_64
kernel-uek-firmware-2.6.39-400.109.6.el6uek.noarch
kernel-uek-firmware-2.6.39-400.214.4.el6uek.noarch
kernel-uek-firmware-2.6.39-400.17.1.el6uek.noarch
kernel-uek-headers-2.6.32-400.34.4.el6uek.x86_64
kernel-uek-2.6.39-400.109.6.el6uek.x86_64
kernel-uek-devel-2.6.39-400.109.6.el6uek.x86_64
kernel-uek-devel-2.6.39-400.17.1.el6uek.x86_64
kernel-uek-devel-2.6.39-400.214.4.el6uek.x86_64
kernel-uek-2.6.39-400.17.1.el6uek.x86_64
kernel-uek-2.6.39-400.214.4.el6uek.x86_64
kernel-uek-debuginfo-2.6.39-400.214.4.el6uek.x86_64

Leave a Reply

Your email address will not be published. Required fields are marked *