| 跳过导航链接 | |
| 退出打印视图 | |
|
手册页第 1 部分:用户命令 Oracle Solaris 11 Information Library (简体中文) |
- provide truth values
true
false
The true utility does nothing, successfully. The false utility does nothing, unsuccessfully. They are typically used in a shell script sh as:
while true
do
command
donewhich executes command forever.
true has exit status 0.
false always will exit with a non-zero value.
See attributes(5) for descriptions of the following attributes:
|