How to execute Linux commands in terminal with the help of Java GUI and how to store the result back to a file?
Printable View
How to execute Linux commands in terminal with the help of Java GUI and how to store the result back to a file?
You are asking quite a few questions in one, and need to provide more context to your problem. To begin with, look at System.exec() and Lesson: Basic I/O (The Java™ Tutorials > Essential Classes).
I have Googled it as much as I can but I was unable to get the proper solution..!!