From c18a7cfeb18acb4e00078515aba95f3bfaff1414 Mon Sep 17 00:00:00 2001 From: yuiseki Date: Thu, 19 Jan 2023 12:21:04 +0900 Subject: [PATCH] history: add Japanese translation (#9784) --- pages.ja/common/history.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages.ja/common/history.md diff --git a/pages.ja/common/history.md b/pages.ja/common/history.md new file mode 100644 index 000000000..fdda13988 --- /dev/null +++ b/pages.ja/common/history.md @@ -0,0 +1,24 @@ +# history + +> コマンドラインの履歴です。 +> 詳しくはこちら: . + +- コマンドの履歴一覧を行番号付きで表示する: + +`history` + +- 直近の20個のコマンドを表示する (`zsh` では20個目から始まるすべてのコマンドを表示する): + +`history {{20}}` + +- コマンド履歴のリストを消去する (現在の `bash` シェルに対してのみ): + +`history -c` + +- コマンド履歴ファイルを現在の `bash` シェルのコマンド履歴で上書きする (履歴を削除するために `history -c` と組み合わせることがよくあります): + +`history -w` + +- 指定されたオフセットの履歴エントリーを削除する: + +`history -d {{オフセット}}`