commands

false — report an unsuccessful outcome

In Bash, false is a builtin which produces no output and reports failure status. Useful for demonstrating status checks; not itself a diagnostic message.

Formal Syntax & Structure

linux syntaxlinux
false

Return Value

exit status

Returns status 1.

Working Example

Example Snippetlinux
false
Linux Reference