hrhr49 blog

Cheat.shでコマンドのヘルプを表示

2020-11-17 cheat.sh tool CLI

チートシートを表示してくれるサービス。

以下のコマンドを叩くと、対応するコマンドのチートシートが表示される。

1curl cheat.sh/<コマンド名>

 1$ curl cheat.sh/ls
 2
 3# ↓ 実行結果
 4# To display everything in <dir>, excluding hidden files:
 5ls <dir>
 6
 7# To display everything in <dir>, including hidden files:
 8ls -a <dir>
 9
10# To display all files, along with the size (with unit suffixes) and timestamp
11ls -lh <dir>
12
13# To display files, sorted by size:
14ls -S <dir>
15
16# To display directories only:
17ls -d */ <dir>
18
19# To display directories only, include hidden:
20ls -d .*/ */ <dir>

似たようなツール

TODO: 気が向いたらメモを作る。

  • tldr: コマンド
  • cheat: コマンド

Categories: