Unix |
Unix v7 |
|
![]() |
true(1) |
![]() |
true, false − provide truth values
true
false
True does nothing, successfully. False does nothing, unsuccessfully. They are typically used in input to sh(1) such as:
|
while true |
|||
|
do |
|||
|
command | |||
|
done |
sh(1)
True has exit status zero, false nonzero.
![]() |
true(1) | ![]() |