This tutorial explains Linux “false” command, options and its usage with examples.
Exit with a status code indicating failure. false returns 1.
The command can be used to ignore the success or failure of a sequence of other commands, 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. (Although /sbin/nologin, if available, may be more fitting for this purpose, as it prints a notification before terminating the session.)
Sanfoundry Global Education & Learning Series – 1000 Linux Tutorials.