Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-25 00:21:43 +00:00
parent 70f6f2ac08
commit f59fe2277e
13 changed files with 43 additions and 11 deletions

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apropos
> Search the manual pages for names and descriptions.
> See also: `man`.
> More information: <https://manned.org/apropos>.
- Search for a keyword using a `regex`:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Simple, fast, recursive content discovery tool written in Rust.
> Used to brute-force hidden paths on web servers and more.
> More information: <https://epi052.github.io/feroxbuster-docs/docs/>.
> More information: <https://epi052.github.io/feroxbuster-docs/configuration/command-line>.
- Discover specific directories and files that match in the wordlist with extensions and 100 threads and a random user-agent:

17
tldr/ibmcloud-update Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ibmcloud update
> Update the IBM Cloud CLI to the latest available version.
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_update>.
- Update CLI to the most recent version:
`ibmcloud update`
- Force an update without confirmation prompts:
`ibmcloud update -f`

13
tldr/ibmcloud-version Normal file
View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ibmcloud version
> Display the installed IBM Cloud CLI version.
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_version>.
- Display version:
`ibmcloud {{[v|version]}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> An alias to a `run-mailcap`'s action edit.
> Originally `run-mailcap` is used to process/edit mime-type/file.
> More information: <https://www.computerhope.com/unix/uedit>.
> More information: <https://www.computerhope.com/unix/uedit.htm>.
- Edit action can be used to view any file on default mailcap explorer:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gedit
> Text editor of the GNOME Desktop project.
> More information: <https://help.gnome.org/users/gedit/stable/>.
> More information: <https://manned.org/gedit>.
- Open a text file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# whatis
> Display one-line descriptions from manual pages.
> See also: `whereis`, `which`, `type`.
> See also: `man`, `whereis`.
> More information: <https://manned.org/whatis>.
- Display a description from a man page:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# man
> Format and display manual pages.
> See also: `whatis`, `apropos`.
> More information: <https://manned.org/man>.
- Display the man page for a command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mpicc
> Open MPI C wrapper compiler.
> More information: <https://www.mpich.org/static/docs/latest/www1/mpicc>.
> More information: <https://www.mpich.org/static/docs/latest/www1/mpicc.html>.
- Compile a source code file into an object file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# octave
> A programming language for scientific computing.
> More information: <https://docs.octave.org/latest/Command-Line-Options.html>.
> More information: <https://manned.org/octave>.
- Start an interactive session:

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`readarray < {{path/to/file.txt}} {{array_name}}`
- Remove trailing deliminators (newline by default):
- Remove [t]railing deliminators (newline by default):
`readarray < {{path/to/file.txt}} -t {{array_name}}`
@@ -24,11 +24,11 @@ source: https://github.com/tldr-pages/tldr.git
`readarray < {{path/to/file.txt}} -n {{n}} {{array_name}}`
- Skip the first `n` lines:
- [s]kip the first `n` lines:
`readarray < {{path/to/file.txt}} -s {{n}} {{array_name}}`
- Define a custom delimiter:
- Define a custom [d]elimiter:
`readarray < {{path/to/file.txt}} -d {{delimiter}} {{array_name}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Display the type of command the shell will execute.
> Note: All examples are not POSIX compliant.
> See also: `whereis`, `which`, `whatis`.
> See also: `whereis`, `which`.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-type>.
- Display the type of a command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# which
> Locate a program in the user's `$PATH`.
> See also: `whereis`, `whatis`, `type`.
> See also: `whereis`, `type`.
> More information: <https://manned.org/which>.
- Search the `$PATH` environment variable and display the location of any matching executables: