Re: what is the right string to enter to ' fg ' for last spawned thing ,
From:
Bash-help
Subject:
Re: what is the right string to enter to ' fg ' for last spawned thing , .. the newest spawned ' & ' ..
Date:
Tue, 27 Aug 2024 17:27:42 +0200
User-agent:
K-9 Mail for Android
On 27 August 2024 17:06:59 CEST, alex xmb sw ratchev <fxmbsw7@gmail.com> wrote:
>whats the correct representation
>of
>last with ' & ' spawned command
>
Accirding to bash manual "The symbols %% and %+ refers to the shell's notion of
the current job, which us the last job stopped while it was in the foreground
or started in the background."
I.e. `fg %+` will do what you ask.
MB