Looking for sh Answers? Try Ask4KnowledgeBase
Looking for sh Keywords? Try Ask4Keywords

shTest


Syntax

  • test
  • test [!] [ -n | -z ] string
  • test [!] { -b | -c | -d | -e | -f | -g | -h | -L | -p | -r | -S | -s | -u | -w | -x } file
  • test [!] -t fd
  • test [!] string { = | != } string
  • test [!] integer { -eq | -ne | -gt | -ge | -lt | -le } integer
  • [ ]
  • [ [!] [ -n | -z ] string ]
  • [ [!] { -b | -c | -d | -e | -f | -g | -h | -L | -p | -r | -S | -s | -u | -w | -x } file ]
  • [ [!] -t fd ]
  • [ [!] string { = | != } string ]
  • [ [!] integer { -eq | -ne | -gt | -ge | -lt | -le } integer ]

Remarks