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