Tuesday, December 20, 2011

Bash error [: =: unary operator expected

Use - if [ "$number" = "1" ]; then
 
NOT - if [ $number = "1" ]; then 


http://linuxcommand.org/wss0100.php

No comments:

Post a Comment