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 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" 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu