Command history in Linux Terminal

A shell builtin, not a program. bash writes ~/.bash_history (usually on exit) and zsh writes ~/.zsh_history. Press Ctrl+R to search.

Shell: Linux Terminal · Category: system · Risk level: safe

The exact syntax, a worked example and the flag reference are behind sign-in.

This is a limited preview. The full walkthrough, command syntax and copy-ready examples are available to signed-in users.

Sign in to read the full page