I`m trying to execute linux commant 'cat' from java code, but it does not working.
Runtime.getRuntime().exec("cat /home/roman/logs/*");
And it working well for cat of single file
Runtime.getRuntime().exec("cat /home/roman/logs/mylog.log");
My question is how to cat all files on some dir from java ?