Test And Check


Table of Contents

sh and/or operation 
test on command result 
cmd:test 
String compare 
Numeric compare 
Flag tests 
Connectives 
tcsh test 
test for files 
test, $var or "$var" 
testing empty 
Synopsis 
Usage 
Trying History 
test empty and something else 
more on empty test: 
more on parameter passing 
bash space for test 
space for test 
or operator 
test on symbolic link 
test on symbolic link 
How to determine if a file/directory is a symbolic link? 
Usage 
Help 
boolean controling var 
Usage 
Trying History 
sh: boolean value? 
sh: boolean value? 
Checking file exists with wildcard? 
Empty dir 

sh and/or operation 

sh$ true && echo aaa
aaa
sh$ true || echo aaa
sh$ false && echo aaa
sh$ false || echo aaa
aaa