Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

true

v(uutils coreutils) 0.8.0
Renvoie true, un code de sortie indiquant le succès.

Retourne immédiatement avec le code de sortie 0, sauf si l’une des options reconnues est utilisée. Dans ce cas, il essaiera d’afficher l’aide ou la version. Une erreur d’entrée/sortie pendant cette opération entraîne un retour avec le code de sortie 1.

Options

--help

Afficher l’aide

--version

true-version-text

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

Return a successful exit code:

true

Make a command always exit with 0:

{{command}} || true

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.