*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> false (1)              



NAME    [Toc]    [Back]

       true, false - Returns a standard exit value

SYNOPSIS    [Toc]    [Back]



STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       true:  XCU5.0

       false:  XCU5.0

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

DESCRIPTION    [Toc]    [Back]

       The  true command returns a 0 (zero) exit value. The false
       command returns a nonzero exit value. These  commands  are
       usually used in input to shell commands.

NOTES    [Toc]    [Back]

       The  special  built-in utility : (colon) is sometimes more
       efficient than the true command.

EXIT STATUS    [Toc]    [Back]

       [Tru64 UNIX]  The nonzero value returned by the false command
 may vary from system to system.

EXAMPLES    [Toc]    [Back]

       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    [Toc]    [Back]

       Commands:  csh(1),  ksh(1),  Bourne  Shell  sh(1b),  POSIX
       shell sh(1p)

       Standards:  standards(5)

[ Back ]
 Similar pages
Name OS Title
tee Linux read from standard input and write to standard output and files
semaem HP-UX adjust-on-exit maximum value
true HP-UX return exit status zero or one respectively
false HP-UX return exit status zero or one respectively
atexit NetBSD register a function to be called on exit
cpu_critical_exit FreeBSD enter and exit a critical region
critical_exit FreeBSD enter and exit a critical region
sysexits FreeBSD preferable exit codes for programs
pthread_cleanup_push FreeBSD add a cleanup function for thread exit
critical_enter FreeBSD enter and exit a critical region
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service