Skip to content

Instantly share code, notes, and snippets.

@tmslnz
Last active August 29, 2015 14:23
Show Gist options
  • Save tmslnz/fbc1507dd5e26e13684d to your computer and use it in GitHub Desktop.
Save tmslnz/fbc1507dd5e26e13684d to your computer and use it in GitHub Desktop.
Get the process name from its id
# To know what process has id 1
stat /proc/1/exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment