Checking in shell script