false (Unix)
From Wikipedia, the free encyclopedia
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. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (March 2008) |
[edit] External links
- : return false value – Commands & Utilities Reference, The Single UNIX® Specification, Issue 7 from The Open Group
[edit] Manual pages
- false(1): Do nothing, unsuccessfully – GNU Coreutils reference
- : Do nothing, unsuccessfully – Linux man page
|
||||||||||||||||||||||||||

