Re: If you're using linux can you run this command please?
- Posted by xecronix Aug 31, 2015
- 2325 views
uname -a Linux localhost.localdomain 4.1.6-200.fc22.x86_64 #1 SMP Mon Aug 17 19:54:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
This will give kernel info and some other helpful things but I would still need to parse the info to determine that it's a Fedora box.
At this point I'm thinking of scrapping the OS detection all together in favor of user configuration. Without too much effort I'm sure I can tell the difference between a Debian based distro and a RedHat based one. I might just leave it at that for now as that will cover the majority and serve my needs for the moment.