what is use of -d , -a option in if condition

view full story

http://www.unix.com – Below is the code i got from forum. can any one help me on this. use of -d , -a option in if loop. Code: test_function() {     echo "converting test files in $1 to ascii"       if [ -d $1 ] || [ -f $1 ]     then                             echo "sucessfully converted"       else                             echo "pls check the path"       exit FAILED &nbsp (HowTos)