Index

The shell job control can be good alternative to terminal multiplexer like screen or tmux. Here’s a small example:

$ vi file

[1]+  Stopped(SIGTSTP)        vi file
$ jobs
[1]+  Stopped(SIGTSTP)        vi file
$ vi other

[2]+  Stopped(SIGTSTP)        vi other
$ jobs
[1]-  Stopped(SIGTSTP)        vi file
[2]+  Stopped(SIGTSTP)        vi other
$ fg %1  # resume 'vi file'
vi file

[1]+  Stopped(SIGTSTP)        vi file
$ jobs
[1]+  Stopped(SIGTSTP)        vi file
[2]-  Stopped(SIGTSTP)        vi other
$ fg %2  # resume 'vi other'