[Nut-upsuser] [EXTERNAL] grep ID /etc/os-release

Roger Price roger at rogerprice.org
Wed Dec 2 17:07:50 GMT 2020


On Wed, 2 Dec 2020, David Zomaya wrote:

>>> From an older Ubuntu machine (I can grab from 18 & 20 later this week)
> Hopefully better late than never...  Ubuntu 18.04 and 20.04 below
>
> $ grep ID /etc/os-release
> ID=ubuntu
> ID_LIKE=debian
> VERSION_ID="18.04"
> $  ps -ef | grep upsd | grep -v -E "grep|cupsd"
> nut       5514     1  0 08:03 ?        00:00:00 /lib/nut/upsd
> $ ls /etc/nut/
> nut.conf  ups.conf  upsd.conf  upsd.users  upsmon.conf  upssched.conf
> unpacker at ubuntu18-zomaya:/$
>
> *****************
> $ grep ID /etc/os-release
> ID=ubuntu
> ID_LIKE=debian
> VERSION_ID="20.04"
> $ ps -ef | grep upsd | grep -v -E "grep|cupsd"
> nut         4194       1  0 10:25 ?        00:00:00 /lib/nut/upsd
> $ ls /etc/nut/
> nut.conf  ups.conf  upsd.conf  upsd.users  upsmon.conf  upssched.conf

Thanks !  Roger



More information about the Nut-upsuser mailing list