1cheat(1) General Commands Manual cheat(1)
2
3
4
6 cheat [option] command
7
9 cheat displays a cheatsheet for popular posix commands. It's designed
10 to help remind system administrators of options and syntax for commands
11 that they use frequently, but not frequently enough to remember.
12
13 Cheat differs from info or man in that cheat is example-centric. You
14 learn from cheatsheets by seeing common examples of how the command is
15 used, rather than reading about every option technically available. In
16 other words, cheat is not complete, but by design. It shows you how a
17 command is most frequently used, and that's all.
18
20 Issue this command:
21
22 cheat foo
23
24 and a cheatsheet for foo is displayed onscreen.
25
27 -d, --directories
28 List directories on CHEATPATH
29
30 -e, --edit [cheat sheet]
31 Edit an existing cheatsheet
32
33 -l, --list
34 List all cheatsheets
35
36 -s, --search [keyword]
37 Search for cheatsheet matching KEYWORD
38
39 -v, --version
40 Print the version number
41
43 By default, the location for cheatsheets is set to PYTHON‐
44 PATH/cheat/cheatsheets
45
46 Additional cheatsheets may be stored in $HOME/.cheat
47
48 You can override the system location of cheatsheets by exporting a
49 CHEATPATH environment variable pointing to an alternate location. For
50 example, in your .bashrc file: export CHEATPATH=/opt/cheatsheets
51
53 Chris Allen Lane https://github.com/chrisallenlane
54
56 apropos(1), whatis(1), man(1), info(1), man.conf(5).
57
58
59
60 September 10, 2016 cheat(1)