LinuxCommandLibrary

byobu

Manage persistent terminal sessions

TLDR

Start a new session

$ byobu
copy

Configuration and help
$ byobu-config
copy

Select tmux (default) or screen backend
$ byobu-select-backend
copy

Enable automatic startup after login into text console
$ byobu-enable
copy

Disable automatic startup after login into text console
$ byobu-disable
copy

Detach from byobu
$ <F6>
copy

Kill a window
$ <Ctrl a><k>
copy

SYNOPSIS

byobu [options] [command]

PARAMETERS

-h, --help
    Display help message and exit.

-v, --version
    Display version information and exit.

-r, --reconnect
    Reconnect to an existing byobu session or create a new one if none exist

-s
    Specify a name for the Byobu session.

command
    Execute a specific command within the Byobu session.

DESCRIPTION

Byobu is a terminal multiplexer and window manager. It sits between you and your shell session, allowing you to detach from and reattach to your terminals. This means you can start a long-running process, disconnect from your computer, and later reconnect to see the process's progress without interruption. Byobu enhances the user experience of tmux or screen with a more informative status line, intuitive keybindings, and persistent sessions. It's designed to be easy to use and provide a consistent experience across different platforms.
Byobu allows you to manage multiple terminal sessions within a single window, switch between them easily, and split the screen into multiple panes, each running its own session. It's particularly useful for managing remote servers, running background processes, and maintaining persistent terminal sessions.

CAVEATS

Byobu relies on either tmux or screen being installed. If neither are available, it will prompt you to install one. Keybindings might conflict with existing shell configurations.

KEYBINDINGS

Ctrl-a is the default prefix key. Common keybindings include: Ctrl-a d (detach), Ctrl-a c (create new window), Ctrl-a (switch windows), Ctrl-a % (split window vertically), Ctrl-a " (split window horizontally), Ctrl-a o (switch panes). Keybindings are configurable.

CONFIGURATION

Byobu configuration files are located in ~/.byobu. You can customize the status line, keybindings, and other settings. The `byobu-config` command provides a graphical interface for some common configuration options.

HISTORY

Byobu was created to improve the usability and accessibility of terminal multiplexers like tmux and screen. It aims to provide a more user-friendly experience with enhanced status information and easier configuration. It has gained popularity as a convenient way to manage terminal sessions, especially on remote servers and for long-running processes.

SEE ALSO

tmux(1), screen(1)

Copied to clipboard