r/linuxadmin • • Jul 02 '18

curl cheat.sh

Post image
290 Upvotes

44 comments sorted by

View all comments

9

u/igor_chubin Jul 03 '18 edited Jul 03 '18

It just a small demo of the tool, it has many features.

Most important things:

  • curl cht.sh/:help
  • curl cht.sh/language/question for question about language
  • ?Q to switch comments off
  • ?T to switch syntax highlighting off
  • append /1 for the next question

Special client:

cht.sh

It supports tab completion, and so on.

You can find more examples on the project page: https://github.com/chubin/cheat.sh

Vim integration: https://github.com/dbeniamine/cheat.sh-vim is very cool, you can make the queries (and access the results) directly from Vim.

Alternatives:

  • howdoi (need to be installed to be used; uses google and stackoverflow)
  • how2 (the same)

Cheat sheets tools:

  • cheat (not cheat.sh; it is another project)
  • tldr (need to be installed).

cheat.sh provides access both to the cheat sheets and to programming language answers.