Discussion:
[ale] command line cheat sheet cht.sh
Scott Plante via Ale
2018-11-07 16:50:47 UTC
Permalink
I just ran across a cool little site cheat.sh aka cht.sh. It's designed to be used from the command line for quick help for bash, python, and many other languages.


For a no-install use, you can type this, for example to
$ curl cht.sh/ls


There's also a short script you can create like this
$ curl https://cht.sh/:cht.sh > ~/bin/cht.sh
$ chmod +x ~/bin/cht.sh


Then you can just type
$ cht.sh ss


There is bash tab completion available. There is also a vim plugin, plus some for other editors.


I only just started playing with it, but it looks promising. Has anyone been using it for a while and found it useful, or been disappointed?


Links:
http://cheat.sh/
https://github.com/chubin/cheat.sh/blob/master/README.md
DJ-Pfulio via Ale
2018-11-07 17:42:51 UTC
Permalink
There's a website that you can enter shell commands onto and it will explain
every option: https://explainshell.com/ - good for 'find' especially.

I prefer to use manpages. They are maintained by the project team, so they
should be the most accurate information available, especially as options change
from release to release.
Post by Scott Plante via Ale
I just ran across a cool little site cheat.sh aka cht.sh. It's designed to be
used from the command line for quick help for bash, python, and many other
languages. 
For a no-install use, you can type this, for example to 
$ curl cht.sh/ls
There's also a short script you can create like this
$ curl https://cht.sh/:cht.sh > ~/bin/cht.sh
$ chmod +x ~/bin/cht.sh
Then you can just type
$ cht.sh ss
There is bash tab completion available. There is also a vim plugin, plus some
for other editors.
I only just started playing with it, but it looks promising. Has anyone been
using it for a while and found it useful, or been disappointed?
http://cheat.sh/
https://github.com/chubin/cheat.sh/blob/master/README.md
Simba via Ale
2018-11-08 06:31:35 UTC
Permalink
There is also 'tldr', a commandline tool that offers simplified versions
of manpages

Simba Lion - https://tailpuff.net
https://keybase.io/simbalion

"Why is a raven like a writing desk?"
Post by DJ-Pfulio via Ale
There's a website that you can enter shell commands onto and it will explain
every option: https://explainshell.com/ - good for 'find' especially.
I prefer to use manpages. They are maintained by the project team, so they
should be the most accurate information available, especially as options change
from release to release.
Post by Scott Plante via Ale
I just ran across a cool little site cheat.sh aka cht.sh. It's designed to be
used from the command line for quick help for bash, python, and many other
languages. 
For a no-install use, you can type this, for example to 
$ curl cht.sh/ls
There's also a short script you can create like this
$ curl https://cht.sh/:cht.sh > ~/bin/cht.sh
$ chmod +x ~/bin/cht.sh
Then you can just type
$ cht.sh ss
There is bash tab completion available. There is also a vim plugin, plus some
for other editors.
I only just started playing with it, but it looks promising. Has anyone been
using it for a while and found it useful, or been disappointed?
http://cheat.sh/
https://github.com/chubin/cheat.sh/blob/master/README.md
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman

Loading...