Visit Our UNIX and Linux User Community


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
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #898
Difficulty: Medium
The Toybox project was started in 2012 and became a BSD-licensed BusyBox alternative.
True or False?

Featured Tech Videos