diff options
author | jmaud <maudlin.johnathan@gmail.com> | 2014-10-31 15:55:35 -0400 |
---|---|---|
committer | jmaud <maudlin.johnathan@gmail.com> | 2014-10-31 15:55:35 -0400 |
commit | 44ce611cc1faffbcf922200672a6715c8872615b (patch) | |
tree | b6d7ee2abc5ddd845313a8e14da1d35f6bcfd0b8 /bash.html.markdown | |
parent | 259c144eeb7b349a00891eb7bfa26ed564dfe580 (diff) | |
parent | cd7a2e72d5850974ecd330004f3546adfbd4fe75 (diff) |
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Merge from upstream
Diffstat (limited to 'bash.html.markdown')
-rw-r--r-- | bash.html.markdown | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/bash.html.markdown b/bash.html.markdown index 11c1f3a2..81d586c4 100644 --- a/bash.html.markdown +++ b/bash.html.markdown @@ -208,4 +208,30 @@ grep "^foo.*bar$" file.txt grep -c "^foo.*bar$" file.txt # if you literally want to search for the string, and not the regex, use fgrep (or grep -F) fgrep "^foo.*bar$" file.txt + + +# Read Bash shell builtins documentation with the bash 'help' builtin: +help +help help +help for +help return +help source +help . + +# Read Bash manpage documentation with man +apropos bash +man 1 bash +man bash + +# Read info documentation with info (? for help) +apropos info | grep '^info.*(' +man info +info info +info 5 info + +# Read bash info documentation: +info bash +info bash 'Bash Features' +info bash 6 +info --apropos bash ``` |