Hi,
I need a help.
I want to search a string in a file which is in Unix server.I am able to connect that server from my java program and go to that directory where that file present using ChannelSftp class.
Like cd method of ChannelSftp works like cd command in unix.
ls method of ChannelSftp works like ls command in unix.
My requirement will fulfil if I get any method which works like grep command in unix.
Is there any method present so that I am able to grep.
Please give some idea.
Thanks in Advance!
Sidharth
I need a help.
I want to search a string in a file which is in Unix server.I am able to connect that server from my java program and go to that directory where that file present using ChannelSftp class.
Like cd method of ChannelSftp works like cd command in unix.
ls method of ChannelSftp works like ls command in unix.
My requirement will fulfil if I get any method which works like grep command in unix.
Is there any method present so that I am able to grep.
Please give some idea.
Thanks in Advance!
Sidharth