?

Log in

No account? Create an account
Tech Tip: Nested Tmux Session - Shlomif's Technical Posts Community [entries|archive|friends|userinfo]
Shlomif's Technical Posts Community

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| Shlomi Fish's Homepage Main Journal Homesite Blog Planet Linux-IL Amir Aharoni in Unicode open dot dot dot ]

Tech Tip: Nested Tmux Session [Jun. 21st, 2018|06:23 pm]
Shlomif's Technical Posts Community

shlomif_tech

[shlomif]
[Tags|, , , , , ]
[Current Mood |relievedrelieved]
[Current Music |Dr. Hook - Who the **** is Alice?]

One can use the following command-line to start a new tmux session with a different hotkey than the default one (e.g.: for use as a nested session after su/sudo or in a nested ssh session, so both sessions can be controlled):

tmux new-session \; set-option prefix C-a

Replace "C-a" with the hotkey of your choice.

Licence

Copyright by Shlomi Fish, 2018.

You can reuse this entry under the Creative Commons Attribution 3.0 Unported licence, or at your option any later version of it. See the instructions on how to comply with it.

LinkReply