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.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.