From e411e6a326dc0dfe72dd41389adff45faab5b853 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 26 Dec 2024 20:12:08 +0200 Subject: [PATCH] suspend: add page (#15247) --- pages/common/suspend.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/suspend.md diff --git a/pages/common/suspend.md b/pages/common/suspend.md new file mode 100644 index 0000000000..03ba1f7e0e --- /dev/null +++ b/pages/common/suspend.md @@ -0,0 +1,16 @@ +# suspend + +> Suspend the execution of the current shell. +> More information: . + +- Suspend the current shell (useful for when you are in nested shells like `su`): + +`{{bash}} 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`