Check Cmd History