{"id":80686,"date":"2023-06-05T13:12:03","date_gmt":"2023-06-05T17:12:03","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=80686"},"modified":"2024-04-08T17:15:28","modified_gmt":"2024-04-08T21:15:28","slug":"understand-command-results","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/understand-command-results","title":{"rendered":"Understand Command Results"},"content":{"rendered":"\n
JumpCloud’s Commands resource lets you run commands using PowerShell, Bash, and Shell across any number of devices (Windows, Mac or Linux) or Device Groups. Every command returns an result code, also sometimes referred to as a result status, exit status, or exit code. Result codes can be useful in diagnosing issues with Commands. Prerequisites<\/strong>: <\/p>\n\n\n\n JumpCloud’s Commands resource lets you run commands using PowerShell, Bash, and Shell across any number of devices (Windows, Mac or […]<\/p>\n","protected":false},"author":206,"featured_media":0,"template":"","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"support_category":[2895,2852],"support_tag":[],"coauthors":[2842],"acf":[],"yoast_head":"\n
Considerations:<\/strong><\/p>\n\n\n\n\n
\n
Common Command Result Codes<\/h2>\n\n\n\n
Linux\/Mac Result Codes<\/h3>\n
\n\n
\n \n Result Code <\/th>\n \n Description <\/th>\n <\/tr>\n \n \n 0 <\/td>\n \n The operation completed successfully <\/td>\n <\/tr>\n \n \n 1 <\/td>\n \n Catch-all for general errors <\/td>\n <\/tr>\n \n \n 2 <\/td>\n \n Misuse of shell built-ins (according to Bash documentation) <\/td>\n <\/tr>\n \n \n 124 <\/td>\n \n Function timeout <\/td>\n <\/tr>\n \n \n 126 <\/td>\n \n Command invoked cannot execute <\/td>\n <\/tr>\n \n \n 127 <\/td>\n \n Command not found <\/td>\n <\/tr>\n \n \n 128 <\/td>\n \n Invalid argument to exit <\/td>\n <\/tr>\n \n \n 128+n <\/td>\n \n Fatal error signal \u201cn\u201d <\/td>\n <\/tr>\n \n \n 255\\* <\/td>\n \n Exit status out of range <\/td>\n <\/tr>\n <\/table>\n<\/div><\/div>\n\n\n\n Windows Result Codes<\/h3>\n
\n\n
\n \n Result Code <\/th>\n \n Description <\/th>\n <\/tr>\n \n \n 0 <\/td>\n \n The operation completed successfully <\/td>\n <\/tr>\n \n \n 1 <\/td>\n \n Incorrect function <\/td>\n <\/tr>\n \n \n 2 <\/td>\n \n The system cannot find the file specified <\/td>\n <\/tr>\n \n \n 124 <\/td>\n \n Function timeout <\/td>\n <\/tr>\n \n \n 126 <\/td>\n \n The specified module could not be found <\/td>\n <\/tr>\n \n \n 127 <\/td>\n \n The specified procedure could not be found <\/td>\n <\/tr>\n \n \n 128 <\/td>\n \n There are no child processes to wait for <\/td>\n <\/tr>\n <\/table>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"