false (Unix)
From Wikipedia, the free encyclopedia
It has been suggested that this article or section be merged with True (Unix). (Discuss) |
In Unix-like operating systems, false is the command that always returns the value 1, which is regarded by the shell as the logical value false.
This program takes no parameters.
It can be used to make a sequence of otherwise useful commands fail, as in the example:
make … && false
Setting a user's login shell to false, in /etc/passwd, effectively denies them access to an interactive shell, but their account may still be valid for other services, such as FTP.
Contents |
[edit] See also
[edit] References
This article does not cite any references or sources. (March 2008) Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. |
[edit] External links
- The Single UNIX® Specification, Issue 6 from The Open Group : return false value – Commands & Utilities Reference,
[edit] Manual pages
- false(1): Do nothing, unsuccessfully – GNU Coreutils reference
- Linux man page : Do nothing, unsuccessfully –
|