true — do nothing, successfully

Examples (TL;DR)

Synopsis

true [ignored command line arguments]
true OPTION

Description

Exit with a status code indicating success.

--help

display this help and exit

--version

output version information and exit

NOTE: your shell may have its own version of true, which usually supersedes the version described here.  Please refer to your shell's documentation for details about the options it supports.

Author

Written by Jim Meyering.

Reporting Bugs

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>

See Also

Full documentation <https://www.gnu.org/software/coreutils/true>
or available locally via: info '(coreutils) true invocation'

Info

October 2019 GNU coreutils 8.31