←
tmux
/
Challenge Challenge: The Monitoring Desk
60:00
Click the virtual machine below to start practicing
>_ Tekhnikum | Lab
- Setting up virtual machine…
- Preparing lab files…
- Starting terminal services…
This lab machine has stopped
Your progress through the guide is saved. Start a fresh machine to keep practicing.
Quick recall
From the last lab. Answer in your head, then open to check.
1. How do you split side by side, and top and bottom?
Ctrl-b % and Ctrl-b ".2. How do you close a pane?
Type exit in it, or Ctrl-b x.Introduction
Build a layout from a description, the way you'd set up a desk for a day's work.
The Monitoring Desk
Tasks
- Create a session called
desk whose first window is called monitor.
- Split
monitor into three panes, and run top in one of them.
- Add a second window called
notes.
- Finish looking at the
monitor window.
Requirements
monitor has exactly 3 panes, and one of them is running top.
- Leave
top running.
Example
[desk] 0:monitor* 1:notes
Solution
tmux new -s desk -n monitor
Ctrl-b %, then Ctrl-b ", then in that pane:
top
Ctrl-b c for a new window, then:
tmux rename-window notes
Ctrl-b 0 to go back to monitor.
Summary
Challenge complete. Compare your approach with the solution: there is usually more than one good way.