HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

aws history — Print the command-line history for AWS CLI commands (the record of history of AWS CLI commands must

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandhistoryaws historycliprintline

Problem

How to use the aws history command: Print the command-line history for AWS CLI commands (the record of history of AWS CLI commands must be enabled). More information: <https://docs.aws.amazon.com/cli/latest/reference/history/>.

Solution

aws history — Print the command-line history for AWS CLI commands (the record of history of AWS CLI commands must be enabled). More information: <https://docs.aws.amazon.com/cli/latest/reference/history/>.

List commands history with command IDs:
aws history list


Display events related to a specific command given a command ID:
aws history show {{command_id}}

Code Snippets

List commands history with command IDs

aws history list

Display events related to a specific command given a command ID

aws history show {{command_id}}

Context

tldr-pages: common/aws history

Revisions (0)

No revisions yet.