In on-Prem we were using terminal (if OS is linux) to connect WAS to execute commands. But in on cloud we don’t have access to WAS.
var runtime = java.lang.Runtime.getRuntime();
var proc = runtime.exec(“mkdir -p -m 777 /tenant/home/Selcuk”);
This command basically creates a a folder in specific path.