add condition in unix