Search

Tuesday, August 19, 2008

if condition

#!/bin/bash
if [ "fioo" = "foo" ]
then
echo "it equal"
else
echo "Oops! something is wrong"
fi

No comments: