Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-08 00:16:55 +00:00
parent 34878bb630
commit 31e38d1972
26 changed files with 539 additions and 6 deletions

33
tldr/help Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
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`