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

[edit] External links

[edit] Manual pages