False(command)

From LQWiki
Jump to navigation Jump to search

The false command has no output, and is used in shell scripting for its exit status (always 1, considered false by shells.)

Provided by

Most (all?) Linux distributions incorporate this from the GNU Coreutils: man page

Related Commands

  • true - gives exit status 0.
  • test - tests things at run-time
  • expr - evaluates an expression, result to stdout

See also

shell scripting