cmd
The cmd
module allows you to execute a shell command on the target server.
Arguments
cmd
: a string that contains the shell command to be executed.
Usage Example
local task = {
name = "Execute a command",
komandan.modules.cmd({
cmd = "ls -l"
})
}
komandan.komando(host, task)