*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: false | Section: 1 | Source: Digital UNIX | File: false.1.gz
true(1) General Commands Manual true(1) NAME true, false - Returns a standard exit value SYNOPSIS true false STANDARDS Interfaces documented on this reference page conform to industry stan- dards as follows: false: XPG4, XPG4-UNIX true: XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about in- dustry standards and associated tags. DESCRIPTION The true command returns a 0 (zero) exit value. The false command re- turns a nonzero exit value. These commands are usually used in input to shell commands. NOTES The special built-in utility : (colon) is sometimes more efficient than the true command. EXIT STATUS [DIGITAL] The nonzero value returned by the false command may vary from system to system. EXAMPLES To construct a loop in a shell procedure, enter: while true do date sleep 60 done This procedure displays the date and time once a minute. To stop it, press the Interrupt key sequence. SEE ALSO Commands: csh(1), ksh(1), Bourne Shell sh(1b), POSIX shell sh(1p) Standards: standards(5) true(1)

Navigation Options