False (Unix)

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire

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

See also

References

External links

Manual pages

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net