1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 11:22:09 +02:00
tldr/pages/common/suspend.md
2024-12-26 23:42:08 +05:30

460 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

  • Run in a separate terminal to continue from suspension if suspend was used in a non-nested shell:

pkill -CONT bash

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

suspend -f