mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:13:50 +02:00
suspend: add page (#15247)
This commit is contained in:
parent
1742028141
commit
e411e6a326
1 changed files with 16 additions and 0 deletions
16
pages/common/suspend.md
Normal file
16
pages/common/suspend.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# 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`
|
Loading…
Add table
Reference in a new issue