Is there a way to get the information in this link (it's an index with all (?) the keywords) a and within the first level links in the command line with something like man
or help
?
You can access exactly the same documentation (including "clickable links") via info bash
.
So info bash
-> select "Indexes" and then -> "Reserved Word Index".
Just for your information (in case you never used info
pages): search with Ctrl-s
, go up with u
and quit with q
, that should be enough for start; info info
will give you full description.
-
-
-
Ubuntu 18.04.2 LTS
. It doesn't seem like I do, but I seeinfo ls
fine. In fact, for all but Bash I seeinfo
as am I supposed to. – alias Apr 7 '19 at 21:43 -
Hmm,
info /bin/bash
shows me something that looks likeinfo
is supposed to look like. But it's different from yours. Trying to find what I want here – alias Apr 7 '19 at 21:48 -
man bash
? There is a section inman bash
that lists reserved words. There are other sections explaining each one of them. – John1024 Apr 7 '19 at 18:25man bash
, but I can't find a way to get to the details without knowing where they are a priori. – alias Apr 7 '19 at 18:28man bash
is typically displayed withless
which has powerful search features. For example, openman bash
and type/reserved
and press <ENTER> and you will come to the list of reserved words. (You may want to read a tutorial onless
to understand its many powerful features.) – John1024 Apr 7 '19 at 18:33help
. At the command prompt just typehelp
, then press space-bar once, then press <tab><tab> and you'll see all the reserved words available in your Bash and select (by typing) the one you want to have the help on. Suchhelp
is not detailed as the man-page, though. For that, I suppose you can just use the very website you linked ? or why not ? – LL3 Apr 7 '19 at 18:36