| Server IP : 217.160.0.244 / Your IP : 216.73.217.138 Web Server : Apache System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64 User : u100174116 ( 6746176) PHP Version : 8.5.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/zsh/help/ |
Upload File : |
test [ arg ... ]
[ [ arg ... ] ]
Like the system version of test. Added for compatibility; use
conditional expressions instead (see the section `Conditional Ex-
pressions'). The main differences between the conditional ex-
pression syntax and the test and [ builtins are: these commands
are not handled syntactically, so for example an empty variable
expansion may cause an argument to be omitted; syntax errors
cause status 2 to be returned instead of a shell error; and
arithmetic operators expect integer arguments rather than arith-
metic expressions.
The command attempts to implement POSIX and its extensions where
these are specified. Unfortunately there are intrinsic ambigui-
ties in the syntax; in particular there is no distinction between
test operators and strings that resemble them. The standard at-
tempts to resolve these for small numbers of arguments (up to
four); for five or more arguments compatibility cannot be relied
on. Users are urged wherever possible to use the `[[' test syn-
tax which does not have these ambiguities.