bash
Execute Shell Command
Executes a shell command and returns its output or background process information.
POST
Body
application/json
Shell command to execute
Example:
"ls -la"
Response
200
application/json
Successfully executed command
Command output if available
Example:
"total 20\ndrwxr-xr-x 3 user group 96 Mar 10 12:34 ."
Process ID if running in background
Example:
1234
Command status: 'completed' or 'background'
Example:
"completed"