The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
what does the $$ do?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
what does the $$ do?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
09-28-2006
serm
Registered User
Join Date: May 2005
Posts: 16
$$ makes it unique - by using the PID of the process
eg
echo "test" > outfile$$ will create an outfile[PID]
serm
View Public Profile
Find all posts by serm
Find serm's past nominations received
Find serm's present nominations given