grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

commit d8e2ce7dde88dbed5ccd3313b11f7aafe57e472c
parent 09a73971a5b3e1dec7d72ee89adbde96ea4ee139
Author: pyratebeard <root@pyratebeard.net>
Date:   Sat, 21 Sep 2019 16:33:49 +0100

run bg job and log out

Diffstat:
Mtechnology/linux/general/bash.md | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/technology/linux/general/bash.md b/technology/linux/general/bash.md @@ -22,6 +22,15 @@ find . -type f -iname "*regex*" -exec rm -f {} \; ls -l /home/<user>/.bash_logout ``` +## run bg job and log out +after 'ctrl-z' +``` +disown -h %1 +bg 1 +logout +``` +_where 1 is the job number_ + ## ref - :1: https://unix.stackexchange.com/questions/125385/combined-mkdir-and-cd - :2: https://it.toolbox.com/question/how-to-find-out-when-a-user-is-created-in-linux-030612