Possible Duplicate:
How can I execute Linux commands on a remote machine using Java?
In my linux client computer, I am trying to invoke a linux shell on the other linux server.
Then I would show the result on the client computer.
The command looks like this: grep 11111 userId.log
Are there any java open source project can do this?
If you can ssh to the other computer, you can use the Jsch library to do this in java.