Skip to content
Anglehit
  • Home
  • Linux
  • Windows
  • Technology News
  • Geek Talk
  • How-to’s
  • Ubuntu
  • Fedora
  • About me

Tag: How do I get the parent process ID of a given child process

How do I get the parent process ID of a given child process in Linux.

March 14, 2018 Akash Angle comment

Use ps -o ppid=   e.g. ps -o ppid= 2076 returns 2054, which you can easily use in a script etc. ps -o ppid= -C foo gives the PPID of process with command foo. You can also use the old fa

Read More →

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Akash Angle

An avid Linux user who has ditched Windows OS in order to make his life fully open source.

Powered by Linux | Designed by Akash Angle