Linux, terminal and Git

Stage 8 · Lesson 5 of 9

tmux: sessions that survive disconnects

SSH, servers and debugging

is a terminal multiplexer: it keeps shell sessions running on a server even if your connection drops. It can also split one terminal into several windows and . Start a session with tmux new -s work.

Detach, leaving it running, with Ctrl+B then D. Later, reconnect with tmux attach -t work. Long jobs on a server, such as a big download or a import, belong inside tmux.

It works on your own machine too. Learn about five shortcuts and stop there until you need more.

Common trapstarting a long job over plain SSH, losing Wi-Fi and losing the job.

A question to check yourself, an AI practice session and 1 cheat sheet entry come when you add the roadmap to your account. Add it

Resources for this stage

Start with· follow one of these

Practise

Keep handy

Also worth your time

  • The server, networking and troubleshooting branches of the Linux map

Mark this stage as not done?