Skip to content

Instantly share code, notes, and snippets.

View romain-viollette's full-sized avatar

Romain VIOLLETTE romain-viollette

View GitHub Profile
@dhhdev
dhhdev / tmux-teacher.sh
Last active March 2, 2021 12:21
Only allow students to access sessions in progress with the read only flag, teachers can create tmux sessions as they wish.
#!/bin/bash
#
# ~/.tools/tmux-teacher.sh
#
# Author: Daniel H. Hemmingsen <dhh@v5.dk>
# Usage: tmux-teacher.sh session-name /path/to/start/from"
#
TEACHER_GROUP="teacher"
@Bekbolatov
Bekbolatov / tmux.md
Last active March 7, 2024 01:18
Clean tmux cheat-sheet

Clean tmux cheat-sheet

By resources

sessions

list-sessions        ls         -- List sessions managed by server
new-session          new        -- Create a new session