Shell

tldr

https://github.com/tldr-pages/tldr-python-client

需要依赖pip

1
sudo pacman -S python-pip

安装tldr

1
sudo pip install tldr

使用举例

查看ls常用格式

1
tldr ls

输出

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# ls                                                                                                

List directory contents.

- List files one per line:

ls -1

- List all files, including hidden files:

ls -a

- Long format list (permissions, ownership, size and modification date) of all files:

ls -la

- Long format list with size displayed using human readable units (KB, MB, GB):

ls -lh

- Long format list sorted by size (descending):

ls -lS

- Long format list of all files, sorted by modification date (oldest first):

ls -ltr