byobu

Byobu commands

Byobu Commands ============== byobu Screen manager Level 0 Commands (Quick Start) ------------------------------ <F2> Create a new window <F3> Go to the previous window <F4> Go to the next window exit Close the current window Level 1 Commands ---------------- <ctrl> a S (capital S, please!) Split the current region horizontally into two new ones <ctrl> a | Split the current region vertically into two new ones <ctrl> a <tab> Go to the next region <ctrl> a X (capital X, please!) Close the current region <ctrl> a Resize the current region using the options given below: :resize +N Increase the height of the current region by N :resize -N Decrease the height of the current region by N :resize N Set the height of the current region to N :resize = Make all regions equally high :resize max Maximize the height of the current region :resize min Minimize the height of the current region <ctrl> a x Lock the terminal <F8> Rename the current window Level 2 Commands (Faster Alternatives) -------------------------------------- <ctrl> a \ Kill all the windows and terminate the session This is an alternative to typing "exit" in each window <ctrl> a <N> Go to window number N This is an alternative to the <F3> and <F4> commands <ctrl> a " Present a list of all windows for selection This is an alternative to the <F3> and <F4> commands <ctrl> a <ctrl> a Toggle to the previously displayed window This is an alternative to the <F3> and <F4> commands Help ---- 1) man screen 2) <ctrl> a ? 3) Press <F9>, then choose the "Help" option

reference: http://www.cse.iitb.ac.in/grc/gcc-workshop-12/downloads/asgn/byobu-commands.txt

Multiple byobu sessions with name

If you need more than 1 byobu session, you probably also want to name them. Below is the command to do that

byobu new -s your-session-name

When you have more than 1 byobu session running, typing byobu will present you with a list of sessions to choose.

Rename existing byobu session

Command:

byobu rename -t <old> <new>

Usage example:

ubuntu@thebeachfrontclub:~$ byobu

Byobu sessions...

1. tmux: airmee: 2 windows (created Tue May 14 10:14:54 2013) [118x31]

2. tmux: jemmer: 2 windows (created Wed Mar 13 13:50:15 2013) [118x31]

3. tmux: juacompe: 4 windows (created Tue May 14 10:12:13 2013) [118x31]

4. tmux: many_tabs: 4 windows (created Mon Mar 11 14:30:37 2013) [80x24] (attached)

5. Create a new Byobu session (tmux)

6. Run a shell without Byobu (/bin/bash)

Choose 1-6 [1]: ^C

ubuntu@thebeachfrontclub:~$ byobu rename -t many_tabs old_one

ubuntu@thebeachfrontclub:~$ byobu

Byobu sessions...

1. tmux: airmee: 2 windows (created Tue May 14 10:14:54 2013) [118x31]

2. tmux: jemmer: 2 windows (created Wed Mar 13 13:50:15 2013) [118x31]

3. tmux: juacompe: 4 windows (created Tue May 14 10:12:13 2013) [118x31]

4. tmux: old_one: 4 windows (created Mon Mar 11 14:30:37 2013) [80x24] (attached)

5. Create a new Byobu session (tmux)

6. Run a shell without Byobu (/bin/bash)

Choose 1-6 [1]: