mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 18:59:06 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,9 +6,13 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# true
|
||||
|
||||
> Returns a successful exit status code of 0.
|
||||
> Use this with the || operator to make a command always exit with 0.
|
||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/true-invocation.html>.
|
||||
> See also: `false`.
|
||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-true>.
|
||||
|
||||
- Return a successful exit code:
|
||||
|
||||
`true`
|
||||
|
||||
- Make a command always exit with 0:
|
||||
|
||||
`{{command}} || true`
|
||||
|
||||
Reference in New Issue
Block a user