06-15-2004
9,926,
461
Join Date: Aug 2001
Last Activity: 26 February 2016, 12:31 PM EST
Location: Ashburn, Virginia
Posts: 9,926
Thanks Given: 63
Thanked 461 Times in 270 Posts
Yeah $$ is the pid of the shell. The reason why people use stuff like /tmp/load.log.$$ is to ensure that if two copies of the script run at the same time, they each get a separate log file.