The Process ID (pid) of the last job run in the background:
~> $ ls &
testfile1 testfile2
[1]+ Done ls
~> $ echo $!
21715
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents