Mailinglist Archive: opensuse (2835 mails)

< Previous Next >
Re: [opensuse] Which Shell do I Have?
  • From: "Geir A. Myrestrand" <geir.myrestrand@xxxxxxxxxxxxxx>
  • Date: Wed, 06 Dec 2006 17:53:27 -0500
  • Message-id: <457749E7.5080007@xxxxxxxxxxxxxx>
Pete Connolly wrote:

The '$$', is that a shortcut to the current process name? I couldn't (immediately) find a reference to it, hence the lazy question.


It expands to the process ID of the shell.

In a () subshell, it expands to the process ID of the current shell, not the subshell.

--

Geir A. Myrestrand
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >