false — Return a nonzero exit code

Format

false [argument …]

Description

false returns an exit status value of 1 (failure). It ignores any arguments given on the command line. This option can be useful in shell scripts.

Usage notes

false is a built-in shell command.

Localization

false uses the following localization environment variables:
  • LANG
  • LC_ALL
  • LC_MESSAGES
  • NLSPATH

See Localization for more information.

Exit values

false always returns an exit status value of 1.

Portability

POSIX.2, X/Open Portability Guide, UNIX systems.

Related information

sh