What is $$


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What is $$
# 1  
Old 12-22-2007
What is $$

What does $$ signifies?
# 2  
Old 12-22-2007
The PID of the shell, or the PID of the original shell if it is a subshell
# 3  
Old 12-25-2007
Quote:
Originally Posted by fpmurphy
The PID of the shell, or the PID of the original shell if it is a subshell
or PID of the shell script if used in a shell script.
can be used to create unique temp files :
ex:
touch temp_$$
# 4  
Old 12-25-2007
Quote:
Originally Posted by Orbix
What does $$ signifies?
In some regexp dialects this is the last line of a file.

bakunin
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question