How to execute Bash commands and collect output from Java?
Hello everyone, basically I am writing the main console application and would like to be able to run commands from it, such as sudo ***, halt, ifconfig, etc.
Any insight ?.
Jack h
source share