get the process id of a bash script

Guillaume guillaume.chardin at gmail.com
Fri May 16 13:33:53 UTC 2008


hi,
i woul like to know the command displaying the actual PID of a bash script.
I try to use $! but it return me the wrong pid (in fact the past
process i ran before).
can someone help me ?
thanks.

---
Guillaume




More information about the fedora-list mailing list