DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

true(1)


true, false -- provide truth values

Synopsis

true
false

Description

true does nothing, successfully. false does nothing, unsuccessfully. They are typically used in input to sh such as:
   while true
   do
   	command
   done

References

sh(1)

Diagnostics

true has exit status zero, false nonzero.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004