mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 03:47:38 +00:00
Update cheatsheets
This commit is contained in:
33
linux/help
Normal file
33
linux/help
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# help
|
||||
|
||||
> Display information about Bash builtin commands.
|
||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-help>.
|
||||
|
||||
- Display the full list of builtin commands:
|
||||
|
||||
`help`
|
||||
|
||||
- Print instructions on how to use the `while` loop construct:
|
||||
|
||||
`help while`
|
||||
|
||||
- Print instructions on how to use the `for` loop construct:
|
||||
|
||||
`help for`
|
||||
|
||||
- Print instructions on how to use `[[ ]]` for conditional commands:
|
||||
|
||||
`help [[ ]]`
|
||||
|
||||
- Print instruction on how to use `(( ))` to evaluate arithmetic expressions:
|
||||
|
||||
`help \( \)`
|
||||
|
||||
- Print instructions on how to use the `cd` command:
|
||||
|
||||
`help cd`
|
||||
Reference in New Issue
Block a user