Hacker News new | past | comments | ask | show | jobs | submit login

Finding man, cold from a prompt, is hard. If you type help, even today, you might get the shell one which doesn't take you there. Ditto info.



Oops, looks like Bash at least accounted for this case. Really, I think you want to route new user to "man intro" first, if they just asked for help.

    $ help
    GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
    These shell commands are defined internally.  Type `help' to see this list.
    Type `help name' to find out more about the function `name'.
    Use `info bash' to find out more about the shell in general.
    Use `man -k' or `info' to find out more about commands not in this list.


Current macOS (Catalina with zsh):

   (base) user@myMachine ~ % help
   zsh: command not found: help




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: