An interactive cheatsheet tool for the command-line
1–10 of 49 posts
Re: An interactive cheatsheet tool for the command-line
#2Re: An interactive cheatsheet tool for the command-line
#3It's also some of the cleanest bash I've seen. Definitely going to be using some of these patterns for my own scripts.
Re: An interactive cheatsheet tool for the command-line
#4You can write bash scripts, or scripts in any programming language with the proper shebang line, you can download other people's scripts, and you don't need bash history to keep them. Listing all of them is just an ls. I tend to not put file extensions of them and use good naming, so you can see everything without looking into them.
Re: An interactive cheatsheet tool for the command-line
#5Re: An interactive cheatsheet tool for the command-line
#6I really like this implementation!
Re: An interactive cheatsheet tool for the command-line
#7Re: An interactive cheatsheet tool for the command-line
#8About the cheatsheets itself, it might be great to share the cheatsheets with a project sharing somewhat similar goals, tldr.sh[0] (which focuses less on interactivity but more on completeness and practicality).
I’m more than excited to see the shell being more approachable. I have introduced the shell to quite a lot of my non-programmer friends with package managers and bulk renaming, but they don’t use the shell enough to memorize all of the commands. These efforts lower the barrier to use the shell... hence making the demonstration of the command line’s powers more easy.
[0] https://tldr.sh
Re: An interactive cheatsheet tool for the command-line
#9Once I tried a tool like this, but just realized, there is already a method of that: the ~/bin folder. You can write bash scripts, or scripts in any programming language with the proper shebang line, you can download other people's scripts, and you don't need bash history to keep them. Listing all of them is just an ls. I tend to not put file extensions of them and use good naming, so you can see everything without l…
One thing I'd add to this is that "crib notes" can be captured in man[0] pages. For example, having them in $HOME/man and ensuring MANPATH[1] includes it serves as a nice complement IMHO. There seems to be a markdown-based tool[2] which can assist in authoring them too.
EDIT: It looks like pandoc[3] can generate man pages from markdown as well.
0 - https://forums.freebsd.org/threads/howto-create-a-manpage-fr...
1 - https://www.freebsd.org/cgi/man.cgi?query=man&apropos=0&sekt...
2 - https://spin.atomicobject.com/2015/05/06/man-pages-in-markdo...
Re: An interactive cheatsheet tool for the command-line
#10Does it also work in zsh?
If you meant 'why is the shebang line bash, isn't it POSIX compliant' - I don't know.
Looks nice though. Not sure I fully understand how the chaining/'prompts you for arguments' works (from UX perspective) but keen to give it a go.