4 ms·
Like I said.. the shell should offer a tutorial by default on first login. And 'help' should probably be a built-in (like it is in fish!) that explains how to
by tresta 15y ago
Like I said.. the shell should offer a tutorial by default on first login.
And 'help' should probably be a built-in (like it is in fish!) that explains how to navigate the help files, and give a brief introduction to the shell.
The non-obviousness of these commands is not an inherent flaw of the CLI, it's an implementation error.
- astine 15y agoEven better than a tutorial, have the shell pass any unrecognized commands to apropos or a help program. This would make things much more discoverable.
- lutorm 15y agoThis Altix machine I work on does this: @tg-login1:~> crap If 'crap' is not a typo you can run the following command to lookup the package that contains the binary: command-not-found crap -bash: crap: command not found`
- StavrosK 15y agoThe Ubuntu machine I work on does this: stavros@stavrosvise ~> crap fish: Unknown command “crap” No command 'crap' found, did you mean: Command 'cap' from package 'capistrano' (universe) Command 'czap' from package 'dvb-apps' (universe) Command 'crip' from package 'crip' (universe) Command 'grap' from package 'grap' (universe) crap: command not found
- Nick_C 15y ago> @seldo: how do I find out about "apropos"? > shell should offer a tutorial by default on first login. > 'help' should probably be a built-in FYI, OpenBSD has all these. I don't know why the various Linux distros don't.