Skip to content

Instantly share code, notes, and snippets.

@zonggen
Created November 19, 2019 20:12
Show Gist options
  • Save zonggen/7bfe1cd7416957c9df76bba2dba91128 to your computer and use it in GitHub Desktop.
Save zonggen/7bfe1cd7416957c9df76bba2dba91128 to your computer and use it in GitHub Desktop.
Useful scripts when testing pinger
$ 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"' 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment