Re: If you're using linux can you run this command please?
- Posted by xecronix Aug 29, 2015
- 2467 views
jmduro said...
Basically, they look for DISTRIB_RELEASE, DISTRIB_CODENAME and DISTRIB_DESCRIPTION, then for one specific release file per distibution, which name can end with -release or -version (they specify the exact name per each distribution).
For Slackware they use pkgtool, for Caldera OpenLinux they use /etc/issue. There is no unique solution. A big switch case would better fit all the needs, with one case per distribution.
Awesome! I'll integrate the OS check into the project as soon as I get home. And I've created a github for the project.