On 17/02/2019 20:33, Fred Smith wrote:
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
Yes. I'm running PRETTY_NAME="Scientific Linux 7.6 (Nitrogen)"
with an elrepo kernel,
Linux 4.4.174-1.el7.elrepo.x86_64 #1 SMP Fri Feb 8 08:37:33 EST 2019 x86_64
Standard would be 3.10.0-957.5.1.el7.x86_64
and your timestamp is Moscow time...
Linux <x.y.z> 2.6.32-042stab134.3 #1 SMP Sun Oct 14 12:26:01 MSK 2018
x86_64 x86_64 x86_64 GNU/Linux
John P