Checking the command to be passed to Dat system call

cmd_check(x)

Arguments

x

Command to check