there is a script I evolved with it, it has line of command like below :
mytemp=`echo ${sourcedir}|awk -F/ '{printf "/%s/tmp",$2}'`/`basename $0`-$1.$$
at the last of the command we see $$
that produces a number. when I use echo $$
in bash I also see a number like bellow:
#echo $$
23019
what exactly is this number, and what is $$
?