To know the PID of your current shell, which command will be used?
To know the PID of your current shell, which command will be used? Correct Answer echo $$
The shell’s pathname is stored in SHELL, but it’s PID is stored in a special variable, $$. To know the PID of our current shell, type $ echo $$ 258 // PID of the current shell
মোঃ আরিফুল ইসলাম
Feb 20, 2025