The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 09-28-2006
mdhmi mdhmi is offline
Registered User
  
 

Join Date: Sep 2006
Location: Detroit, Michigan
Posts: 23
$$ is the pid of the process.

Example:

ncpr1 $ ps
PID TTY TIME CMD
12415 pts/17 0:00 ksh
16571 pts/17 0:00 ps

ncpr1 $ touch junkfile.$$

ncpr1 $ ls -l junkfile.12415
-rw-r--r-- 1 mark king 0 Sep 28 12:25 junkfile.12415
ncpr1 $