A basic checking a input command