How to check if the running distribution is Linux


[anar@bakudcststapp boot]$ cat /etc/issue.net | head -1
Oracle Linux Server release 6.0
[anar@bakudcststapp boot]$ rpm -qf /etc/redhat-release
oraclelinux-release-6Server-0.0.5.x86_64

 

[anar@bakudcststapp boot]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.0 (Santiago)

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: