Bring a remote background task to the foreground

Procedure

To bring a remote background task to the foreground, the host name must be specified together with @, as in the following example:

fg %2 @hostD

<< remote execution on hostD >> sleep 40