Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-11 00:16:06 +00:00
parent eefee408c4
commit 0722e83ada
4 changed files with 4 additions and 4 deletions

2
tldr/!
View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# Exclamation mark
> Bash builtin to substitute with a command found in history.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Event-Designators>.
> More information: <https://gnu.org/software/bash/manual/bash.html#Event-Designators>.
- Substitute with the previous command and run it with `sudo`:

2
tldr/[
View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Check file types and compare values.
> Returns a status of 0 if the condition evaluates to true, 1 if it evaluates to false.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-test>.
> More information: <https://gnu.org/software/bash/manual/bash.html#index-test>.
- Test if a given variable is equal/not equal to the specified string:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Check file types and compare values.
> Returns a status of 0 if the condition evaluates to true, 1 if it evaluates to false.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-_005b_005b>.
> More information: <https://gnu.org/software/bash/manual/bash.html#index-_005b_005b>.
- Test if a given variable is equal/not equal to the specified string:

2
tldr/^
View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Bash builtin to quick substitute a string in the previous command and run the result.
> Equivalent to `!!:s^string1^string2`.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Event-Designators>.
> More information: <https://gnu.org/software/bash/manual/bash.html#Event-Designators>.
- Run the previous command replacing `string1` with `string2`: