Re: If you're using linux can you run this command please?

new topic     » goto parent     » topic index » view thread      » older message » newer message

To find Linux Mint, you have to look in /etc/lsb-release:

/etc/lsb-release:DISTRIB_ID=LinuxMint 
/etc/lsb-release:DISTRIB_DESCRIPTION="Linux Mint 17.2 Rafaela" 

There is another option: cat /etc/issue.net

Linux Mint 17.2 Rafaela: Linux Mint 17.2 Rafaela 
Debian 7 Wheezy: Debian GNU/Linux 7 

But it fails on CentOS 7:

\S 
Kernel \r on an \m 

So there seems to be not only one method but a combination of many to identify Linux systems.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu