Re: If you're using linux can you run this command please?
- Posted by jmduro Aug 29, 2015
- 2458 views
To get it work correctly on Fedora, I had to add an option -L (follow links)
echo "/etc/issue.net:"$(cat /etc/issue.net); find -L /etc -maxdepth 1 -type f -name "*-release" -exec grep -H -E "NAME|DISTRIB" {} \;
The result is now correct
/etc/issue.net:Fedora release 22 (Twenty Two) Kernel \r on an \m (\l) /etc/os-release:NAME=Fedora /etc/os-release:PRETTY_NAME="Fedora 22 (Twenty Two)" /etc/os-release:CPE_NAME="cpe:/o:fedoraproject:fedora:22"