1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-31 01:13:40 +02:00
tldr/pages/common/suspend.md
Managor bf47c685ac
$, 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 11:28:41 -07:00

468 B

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

  • Continue from suspension if suspend was used in a non-nested shell (run this in a separate terminal):

pkill -CONT {{bash}}

  • Force suspension even if this would lock you out of the system:

suspend -f