get cmd