Use shell operator or inside if condition