1true(1)                          User Commands                         true(1)
2
3
4

NAME

6       true, false - provide truth values
7

SYNOPSIS

9       true
10
11
12       false
13
14

DESCRIPTION

16       The  true  utility  does  nothing, successfully. The false utility does
17       nothing, unsuccessfully. They are typically used in a shell  script  sh
18       as:
19
20         while true
21         do
22                     command
23         done
24
25
26
27       which executes command forever.
28

EXIT STATUS

30       true has exit status  0.
31
32
33       false always will exit with a non-zero value.
34

ATTRIBUTES

36       See attributes(5) for descriptions of the following attributes:
37
38
39
40
41       ┌─────────────────────────────┬─────────────────────────────┐
42       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
43       ├─────────────────────────────┼─────────────────────────────┤
44       │Availability                 │SUNWcsu                      │
45       ├─────────────────────────────┼─────────────────────────────┤
46       │Interface Stability          │Standard                     │
47       └─────────────────────────────┴─────────────────────────────┘
48

SEE ALSO

50       sh(1), attributes(5), standards(5)
51
52
53
54SunOS 5.11                        1 Feb 1995                           true(1)
Impressum