mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -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`:
|
||||
|
||||
@@ -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
17
tldr/ibmcloud-update
Normal 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
13
tldr/ibmcloud-version
Normal 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]}}`
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
1
tldr/man
1
tldr/man
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user