好用的命令行软件

thefuck

纠正在控制台中你输入的错误命令。

1
$ pip install thefuck

cheat

允许您在命令行上创建和查看交互式备忘单。 它旨在帮助* nix 系统管理员提醒他们经常使用的命令的选项,但不经常记住。
安装:

1
$ pip install cheat

使用:

1
2
3
4
5
6
7
8
9
10
11
12
13
$ cheat tar
To extract an uncompressed archive:
tar -xvf /path/to/foo.tar

# To create an uncompressed archive:
tar -cvf /path/to/foo.tar /path/to/foo/

# To extract a .gz archive:
tar -xzvf /path/to/foo.tgz

# To create a .gz archive:
tar -czvf /path/to/foo.tgz /path/to/foo/
... ...