if and case statements on shell