Monday, June 22, 2009

Command to Find out pid of our Own shell

Do you know how to find the pid of our shell from a server where there are hundreds of shell connections.
well try this.

echo $$

This command will give you the pid of your shell and if you kill that process id you will be logged out.

Cheers
Nobs

No comments:

Post a Comment