Like Linux Basic commands but want to run them on autocode?? Here's what you are looking for. Note: Since autocode uses READ-ONLY System you can't write contents with it.
const shell = require('shelljs');
let input = context.params.cmd;
let info = shell.exec(input);
console.log(info);
return info;