job control
man signal# how to quit?sleep 20ctrl c # send a signal SIGINTctrl \ # send a signal SIGQUITctrl z # send a signal SIGSTOP#nohup will let the job keep running when job accept a hup signalnohup sleep 2000 & # & will let commands run in backgroundjobs # will list all the jobsbg %1 # continue the first job which is in the backgroundkill -STOP %1 # will send a stop signal to the first jobkill -HUP %1 # will send a hup signal to the first jobkill -KILL %1 # kill the first job no matter what
terminal multiplexers
tmux: https://www.ruanyifeng.com/blog/2019/10/tmux.html
let you create different workspaces that you can work in. In this way, you don’t need have to open a lot of terminal windows
has a huge variety of functionality
it will let you rearrange the environment and it will let you have different seesions
sessions
reattach to the session
tmux a
create a new sessions names foobar
tmux new -t foobar
list the sessions
tmux ls
