Re: If you're using linux can you run this command please?
- Posted by ghaberek (admin) Sep 01, 2015
- 2303 views
SDPringle said...
Linux Mint 17.0
$cat /etc/*-release | grep ^NAME cat: /etc/upstream-release: Is a directory NAME="Ubuntu"
Protip: you don't have to cat files and pipe them into grep, you can just grep files directly.
$ grep -E "^NAME=" /etc/*-release
/etc/os-release:NAME="Ubuntu"
/etc/os-release:NAME="Ubuntu"
I'm not sure why more people don't know this, but I see it all the time.
-Greg