# Ctrl+B Shortcut

> The key that lets a long task run in the back while you keep chatting.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** Ctrl+B, Ctrl+B in Claude Code, background a task

## Think of it like

It is like putting a pot on the back of the stove. It keeps cooking while you do other things.

## Definition

Ctrl+B is the Claude Code shortcut that moves a running task to the background. It works on Bash commands and on agents. The task keeps running, and you can keep chatting. Inside tmux, press it twice, since tmux uses Ctrl+B itself. The /tasks command lists what is running.

## Example

Leo's test run takes ten minutes. He presses Ctrl+B and asks Claude a question while it runs.

## Why it matters

A long command no longer blocks the whole chat.

## Common mistake

Pressing it once in tmux. Tmux takes the first press, so press it twice.

## Three principles

- **Background a task.** Commands and agents.
- **Keep chatting.** It keeps running.
- **Twice in tmux.** Tmux uses it.

## Related terms

- [/tasks Command](https://learn.benibix.com/term/ai/tasks-command)
- [/background Command](https://learn.benibix.com/term/ai/background-command)
- [Bash Tool](https://learn.benibix.com/term/ai/bash-tool)
- [CLAUDE_CODE_DISABLE_BACKGROUND_TASKS](https://learn.benibix.com/term/ai/claude-code-disable-background-tasks-variable)

## Taught in

- [Checkpoints and Control Keys](https://learn.benibix.com/learn/ai-claude-code/checkpoints-and-control-keys): Claude Code, 3/16

---

Source: https://learn.benibix.com/term/ai/ctrl-b-shortcut
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
