Skip to content

Instantly share code, notes, and snippets.

@alexey-detr
Created September 19, 2013 11:39
Show Gist options
  • Save alexey-detr/6622180 to your computer and use it in GitHub Desktop.
Save alexey-detr/6622180 to your computer and use it in GitHub Desktop.
id -u `ps xu | grep -E "([a]pache2|nginx)" | awk '{print $1}' | head -n1`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment