How to run this Runtime.getRuntime().exec("cat finename grep ,000 wc -l"
843798Apr 18 2007 — edited Apr 18 2007Hi,
I dont know how to run this ,
To get number of line in Linux , we put as
Cat file.txt | grep ,000 | wc -l
I have to put in
Runtime.getRuntime().exec(" Cat file.txt | grep ,000 | wc -l ");
but null is returning in
how to give this
Thanks,
Kamal.