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!
Any comments on WHM or cpanel? Anybody?
--
Beartooth Staffwright, Not Quite Clueless Power User
Remember I know little (precious little!) of where up is.