Hands-on task
This task is step 2 of the course “tmux: sessions you never lose”
List sessions to a file
Two tmux sessions are running — work and build. Write the list of all current sessions (the output of tmux ls) to the file /root/sessions.txt.
Reference:tmux
What you'll practise:
- tmux
- list-sessions
- tmux ls
- sessions