0 کاربر و 1 مهمان درحال مشاهده موضوع.
mv test test_$$
echo $$
man bash
BASHPID Expands to the process ID of the current bash process. This differs from $$ under certain circumstances, such as subshells that do not require bash to be re-initialized.