|
|
1.1 root 1:
2:
3: true Command true
4:
5:
6:
7:
8: Unconditional success
9:
10: true
11:
12: true does nothing, successfully. It always returns zero (i.e.,
13: true).
14:
15: true is useful in shell scripts when you want to execute a con-
16: dition indefinitely. For example, the following example
17:
18:
19: while true; do
20: date
21: done
22:
23:
24: prints the current date and time on your screen forever (or at
25: least until interrupted by typing <ccttrrll-CC>.
26:
27: ***** See Also *****
28:
29: commands, false, sh
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.