Suspend execution of the shell
suspend [-f]
SIGCONT signal is received.login shell unless the -f option is used.-f: Force suspension of a login shell.
Returns success unless job control is not enabled or an error occurs.
# Open a terminal and get the PID
echo $$
# Suspend execution
suspend
# Open another terminal and send SIGCONT signal
kill -s SIGCONT <PID>
# The original terminal will resume and allow interaction.
bg, fg, kill, wait, disown, and suspend.monitor option to be enabled. Check status with set -o and looking at the monitor row; enable with set -o monitor or set -m.help command for related information.