true - Man Page

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

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

Report bugs to: bug-coreutils@gnu.org
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>
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'

Referenced By

tmux(1).

September 2025 GNU coreutils 9.8