Sponsored Content
Full Discussion: $$ value changes often
Top Forums UNIX for Dummies Questions & Answers $$ value changes often Post 302659497 by ygemici on Thursday 21st of June 2012 04:30:45 AM
Old 06-21-2012
try this for current shell pid
Code:
typeset -x x=$$ ; perl -e 'print "$ENV{x}\n"'

 
All times are GMT -4. The time now is 03:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy