I have the idea of creating a tool which is more like a tutorial for commands rather than the reference that `man` is. Has anyone made something like that before?
I thought of giving it a name like `tutor`. Where you can use it without arguments for a general shell tutorial and with arguments for a mini-tutorial about a command
$ tutor
Welcome to the Bash command shell. This is a short tutorial about how (and why) to use the shell...
$ tutor ls
Use `ls` to view files in the current directory or one you specify. Examples:
- ls
Lists current directory (excluding files starting with a ., these are "hidden files")
- ls -A
Lists current directory including hidden files
...
===
Something like that at least. I think one of the worst things about the shell is finding out about the functionality there actually is, so having something like that built in could be handy. Maybe you could also have it do something like `tutor copy file` and have it find and list commands that fit the description.
I thought of giving it a name like `tutor`. Where you can use it without arguments for a general shell tutorial and with arguments for a mini-tutorial about a command
$ tutor
Welcome to the Bash command shell. This is a short tutorial about how (and why) to use the shell...
$ tutor ls
Use `ls` to view files in the current directory or one you specify. Examples:
- ls
Lists current directory (excluding files starting with a ., these are "hidden files")
- ls -A
Lists current directory including hidden files ... ===
Something like that at least. I think one of the worst things about the shell is finding out about the functionality there actually is, so having something like that built in could be handy. Maybe you could also have it do something like `tutor copy file` and have it find and list commands that fit the description.