$ sudo systemctl status fedora-coreos-pinger.service
$ uid=$(id -u fedora-coreos-pinger)
$ sudo -H -u \#${uid} bash -c 'echo "I am $USER, with uid $UID"'
Created
November 19, 2019 20:12
-
-
Save zonggen/7bfe1cd7416957c9df76bba2dba91128 to your computer and use it in GitHub Desktop.
Useful scripts when testing pinger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment