I am sorry to ask such a seemingly basic question....
What is the command to display the parent process id of the current process?
I am writing a script which requires the child process to report the process id of its parent, and append this id to a file. I looked at ps -o "%P" and ps -o ppid ; however these return a column header...
any help is appreciated!
Thanks
What is the command to display the parent process id of the current process?
I am writing a script which requires the child process to report the process id of its parent, and append this id to a file. I looked at ps -o "%P" and ps -o ppid ; however these return a column header...
any help is appreciated!
Thanks