Skip to content

Instantly share code, notes, and snippets.

@andyg1
Created September 29, 2023 20:12
Show Gist options
  • Save andyg1/a60a1c89048d80f789297368645d7b5b to your computer and use it in GitHub Desktop.
Save andyg1/a60a1c89048d80f789297368645d7b5b to your computer and use it in GitHub Desktop.
Check if a service is running in Linux
# lists all running processes and filters them by name (in this example "dbus")
ps -ef | grep dbus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment