Shell / Commands

history

English

Overview

A command that shows the history of previously run commands.

Details

A command that displays, and lets you reuse, the history of commands run in the current shell session. "!!" reruns the previous command, and "!123" reruns it by history number.

More Linux terms