pid by lelunicu from LinuxQuestions.org on 2019-09-19 14:14 (#4QQHC) hi,i like to find the pid of every command in a linux script.let`s say:cat y;where y is the script namesleep 10find /how can i find the pid of sleep and the pid of find when i run the script?