Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
F Key Commands
----
F2: Create a new window
F3: Move to the previous window
F4: Move to the next window
F5: Refresh all status notifications
F6: Detach from the session and logout
Shift-F6: Detach from the session, but do not logout
F7: Enter scrollback/search mode
F8: Rename the current window
F9: Launch the Byobu Configuration Menu
F12: GNU Screen's Escape Key
Alt-Pageup: Scroll back through this window's history
Alt-Pagedown: Scroll forward through this window's history
Shift-F2: Split the screen horizontally
Ctrl-F2: Split the screen vertically
Shift-F3: Move focus to the next split
Shift-F4: Move focus to the previous split
Shift-F5: Collapse all splits
Ctrl-F5: Reconnect any SSH/GPG sockets or agents
Shift-F12: Toggle all of Byobu's keybindings on or off
@limingjie

This comment has been minimized.

Copy link

commented Apr 22, 2015

Thanks a lot!

@amartorelli

This comment has been minimized.

Copy link

commented Jun 1, 2016

Thanks amazing summary!

@hunterjackson

This comment has been minimized.

Copy link

commented Jun 24, 2016

Great summary, but I believe you are missing at least a few level 1 & 2 commands

@kevinhaas

This comment has been minimized.

Copy link

commented Jun 25, 2016

Awesome! Thank you!

@baryaqod

This comment has been minimized.

Copy link

commented Oct 9, 2016

Great, Thanks Lot.

@surajnarwade

This comment has been minimized.

Copy link

commented Jan 24, 2017

Nice, thanks alot :)

@leandrino

This comment has been minimized.

Copy link

commented Feb 1, 2017

Thank you!!!! 👍

@alukach

This comment has been minimized.

Copy link

commented Apr 30, 2017

<ctrl> a S does not work for horizontal split for me. <ctrl> a % does.

@samqi

This comment has been minimized.

Copy link

commented Mar 15, 2018

a S does not work for horizontal split for me. a % does.

^^ a % works for me in Mac, a S doesnt

@akashjobanputra

This comment has been minimized.

Copy link

commented Jul 19, 2018

@KarlOfDuty

This comment has been minimized.

Copy link

commented Nov 17, 2018

Yes it seems ctrl-a S is no longer the correct command for horisontal splitting, it is ctrl-a % on ubuntu too.

@adam-dziedzic

This comment has been minimized.

Copy link

commented Nov 27, 2018

How to leave the scrollback mode? There is no explicit command for that.

@goeland86

This comment has been minimized.

Copy link

commented Aug 19, 2019

How to leave the scrollback mode? There is no explicit command for that.

q or Ctrl-C will do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.