How to display the process id of the process executing currently and id of processes that take place recently, In Shell scripting?

DWQA QuestionsCategory: LinuxHow to display the process id of the process executing currently and id of processes that take place recently, In Shell scripting?
Editor Staff asked 2 months ago

How to display the process id of the process executing currently and id of processes that take place recently, In Shell scripting?

1 Answers
Editor Staff answered 2 months ago

We have two dedicated commands which can be executed directly and they are $$ and $.