1

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?

  • What are you looking for that is not already in man bash? There is a section in man bash that lists reserved words. There are other sections explaining each one of them. – John1024 Apr 7 '19 at 18:25
  • @John1024 They are listed in man 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:28
  • man bash is typically displayed with less which has powerful search features. For example, open man bash and type /reserved and press <ENTER> and you will come to the list of reserved words. (You may want to read a tutorial on less to understand its many powerful features.) – John1024 Apr 7 '19 at 18:33
  • You can have most (though not all) of that by using help. At the command prompt just type help, 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. Such help 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
  • @John1024 I should have been clearer. I know about that, but it hardly has any information. – alias Apr 7 '19 at 20:06
1

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.

  • info shows me the same information as help, it's not showing me the usual info interface, looks more like less. Here's a gif of how I see things. Can you confirm that it looks different for you? – alias Apr 7 '19 at 20:13
  • @alias It should look like that. Which system are you using? Do you have texinfo installed? – jimmij Apr 7 '19 at 21:32
  • Ubuntu 18.04.2 LTS. It doesn't seem like I do, but I see info ls fine. In fact, for all but Bash I see info as am I supposed to. – alias Apr 7 '19 at 21:43
  • Hmm, info /bin/bash shows me something that looks like info 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
  • Is there a way to search across the all nodes? I'm not finding it. – alias Apr 7 '19 at 22:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.