On Sun, Feb 17, 2019 at 08:15:03PM -0000, Beartooth wrote:
> On Sat, 16 Feb 2019 20:37:02 -0500, Matthew Miller wrote:
> 
> > Any distro using systemd (so, any modern mainstream distro) will have
> > /etc/os-release. You can do `cat /etc/os-release`, but one of the really
> > nice things is that this is also a machine-readable file. You can do
> > 
> >   $ source /etc/os-release $ echo $PRETTY_NAME Fedora 29 (Workstation
> >   Edition)
> 
>       I had to use the shorter command ("no such file ..."), but got:
> 
> $ cat /etc/os-release
> NAME="CentOS Linux"
> VERSION="7 (Core)"
> ID="centos"
> ID_LIKE="rhel fedora"
> VERSION_ID="7"
> PRETTY_NAME="CentOS Linux 7 (Core)"
> ANSI_COLOR="0;31"
> CPE_NAME="cpe:/o:centos:centos:7"
> HOME_URL="https://www.centos.org/";
> BUG_REPORT_URL="https://bugs.centos.org/";
> 
> CENTOS_MANTISBT_PROJECT="CentOS-7"
> CENTOS_MANTISBT_PROJECT_VERSION="7"
> REDHAT_SUPPORT_PRODUCT="centos"
> REDHAT_SUPPORT_PRODUCT_VERSION="7"
> 
>       So they are still running it. Many thanks!

But I thought your earlier postings showd a 2.6.x kernel, which is
not what EL7 runs.

Fred

-- 
---- Fred Smith -- fre...@fcshome.stoneham.ma.us -----------------------------
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
      it with justice and righteousness from that time on and forever."
------------------------------- Isaiah 9:7 (niv) ------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to