Skip to content

Instantly share code, notes, and snippets.

@FredyRosero
Last active December 5, 2021 05:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save FredyRosero/a85ff5d7a3f5d0c6e073ee21cbf6ca47 to your computer and use it in GitHub Desktop.
$ ps -p $$ -o args,ppid
COMMAND PPID
bash 1234
$ ps -p 1234 -o args
COMMAND
/usr/lib/gnome-terminal/gnome-terminal-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment