Hacker News new | ask | show | jobs
by dzove855 1624 days ago
Well just type: help BUILTIN

Example : help read

2 comments

Thanks I didn't know! So many years of searching for "read" (etc) in the huge bash man page and, of course, in the case of "read" finding many false positives. Still it would be nice if `man` could be improved to know about builtin commands - the obvious thing is something like an html anchor in the big bash man page for each built in.
This prints abridged usage help, though. You can use `info bash read`, but confusingly it might not always contain the same content as manpages.