How do I grep a jar file?

Thành Nguyễn

New member
How do I grep a jar file?
Answer
The below command shows the results with the file name and jar file name.
  1. To find the string in the list of jar file. find <%PATH of the Folder where you need to search%> -name “*.jar” -print -exec zipgrep “jar$|<%STRING THAT YOU NEED TO FIND>” ‘{}’ ;
  2. To find the class name in the list of jar file. find . –
10 сент. 2016 г.
 

Tìm kiếm

Back
Top