2024-12-26 20:12:08 +02:00
|
|
|
# suspend
|
|
|
|
|
|
|
|
> Suspend the execution of the current shell.
|
|
|
|
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-suspend>.
|
|
|
|
|
|
|
|
- Suspend the current shell (useful for when you are in nested shells like `su`):
|
|
|
|
|
|
|
|
`{{bash}} <Enter> suspend`
|
|
|
|
|
2025-03-19 18:33:51 +02:00
|
|
|
- Continue from suspension if `suspend` was used in a non-nested shell (run this in a separate terminal):
|
2024-12-26 20:12:08 +02:00
|
|
|
|
$, case, continue, coproc, getopts, select, suspend, ulimit, while: refresh page (#17687)
Refreshed $, case, continue, coproc, getopts, select, suspend, ulimit, while .md pages
2025-08-16 21:28:41 +03:00
|
|
|
`pkill -CONT {{bash}}`
|
2024-12-26 20:12:08 +02:00
|
|
|
|
|
|
|
- Force suspension even if this would lock you out of the system:
|
|
|
|
|
|
|
|
`suspend -f`
|