New answers tagged documentation
You have to look at the manual for the specific shell you are using as the exact syntax for using these constructs can vary between shells. Most likely you are using bash, so you would do man bash. Although there are many cases where you might be using something else. For example many distros use a POSIX shell for boot scripts (eg Debian uses dash) or a ...
These are builtins of the shell you are using. So, man bash or equivalent for your shell. Particularly for bash, the man page is not too long and a very good read. Go through it and you will have a much better feeling what's possible and how stuff works (at least you know it exists for future reference).
Have a look at the man page for the shell you're using. For bash, the flow control statements are documented under 'SHELL GRAMMAR' -> 'Compound Commands'.
Just pipe Info output to vim eg.,: info info Advanced | vim -R - or info info Advanced | less You can also invoke Info using --vi-keys, but the supposed "vi" key bindings are really weird. You can also customise the Info key bindings using the infokey tool (see Customizing Key Bindings and Variables). A sample vi .infokey source file is ...
There is an upcoming blog about unix and shell. The commands are explained in simple manner. You can try it: http://learnshell.blogspot.com/
Top 50 recent answers are included