How can a java program decide which command to execute depending of os
<p>I have to make a program which will print the network settings using "ipconfig" for Windows and "ifconfig" for Linux, but I need to do that with a unique implementation for both OS. </p>
