|
|
coherent
true Command true
Unconditional success
true
true does nothing, successfully. It always returns zero (i.e.,
true).
true is useful in shell scripts when you want to execute a con-
dition indefinitely. For example, the following example
while true; do
date
done
prints the current date and time on your screen forever (or at
least until interrupted by typing <ccttrrll-CC>.
***** See Also *****
commands, false, sh
COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.