5

I do

man set

but that just gets me this:

enter image description here

How can I get to here: http://ss64.com/bash/set.html from within bash?

nightfire
  • 815
  • 2
  • 12
  • 22

2 Answers2

6

bash built-ins don't have their own man pages; you need to use bash's built-in help system:

$ help set
chepner
  • 497,756
  • 71
  • 530
  • 681
  • Does this command print the same as it's written at http://ss64.com/bash/set.html? It does not for me on 4.3.30. I looked for in `Bash git` repository and didn't find this sentence: "Manipulate shell variables and functions.". I wonder where do they get it from at http://ss64.com? – Arkadiusz Drabczyk Aug 26 '15 at 20:47
  • 1
    I think that's just a custom web page, not included in `bash` itself. – chepner Aug 26 '15 at 21:00
  • that must be the case – Arkadiusz Drabczyk Aug 26 '15 at 21:01
  • Note that a lot of commands they have under the "bash" index are external commands that are completely independent of `bash`. – chepner Aug 26 '15 at 21:01
0

Use man bash, scroll down to the SHELL BUILTIN COMMANDS section, then scroll down to the set command.

Barmar
  • 741,623
  • 53
  • 500
  • 612
  • Except that there are about 17 hits for the string "SHELL BUILTIN COMMANDS" before the one you want (which is thousands of lines down). BUT if you search for it with "^" in front (to find it only at start of line), you can get there quickly (at least on Ubuntu and Mac OS X). – TextGeek Sep 30 '15 at 14:58