The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
UNIX for Dummies Questions & Answers
What is $$
Tags
beginners
Thread Tools
Search this Thread
Top Forums
UNIX for Dummies Questions & Answers
What is $$
#
1
12-22-2007
Orbix
Registered User
41,
0
Join Date: Nov 2007
Last Activity: 3 November 2010, 1:24 PM EDT
Posts: 41
Thanks Given: 0
Thanked 0 Times in 0 Posts
What is $$
What does $$ signifies?
Orbix
View Public Profile for Orbix
Find all posts by Orbix
#
2
12-22-2007
fpmurphy
Registered User
4,996,
477
Join Date: Dec 2003
Last Activity: 12 June 2016, 11:03 PM EDT
Location: /dev/ph
Posts: 4,996
Thanks Given: 73
Thanked 477 Times in 439 Posts
The PID of the shell, or the PID of the original shell if it is a subshell
fpmurphy
View Public Profile for fpmurphy
Find all posts by fpmurphy
#
3
12-25-2007
mehmet_demirez
Registered User
23,
0
Join Date: Dec 2007
Last Activity: 3 June 2008, 3:33 AM EDT
Location: Istanbul
Posts: 23
Thanks Given: 0
Thanked 0 Times in 0 Posts
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_$$
mehmet_demirez
View Public Profile for mehmet_demirez
Find all posts by mehmet_demirez
#
4
12-25-2007
bakunin
Registered User
6,384,
2,214
Join Date: May 2005
Last Activity: 28 October 2019, 4:59 PM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 6,384
Thanks Given: 143
Thanked 2,214 Times in 1,548 Posts
Quote:
Originally Posted by
Orbix
What does $$ signifies?
In some regexp dialects this is the last line of a file.
bakunin
bakunin
View Public Profile for bakunin
Find all posts by bakunin
Login or Register to Ask a Question
Previous Thread
|
Next Thread
Login or Register to Ask a Question
Member Badges and Information Modal
×