How to know the Path of a File inside a recursive directory structure
I am using L开发者_JS百科inux server through putty tool . Inside the linux server , I entered into a folder which is a Web Application (This is consisting of a number of sub directories with in it ) Inside that directory I need to find out a path of a java file where it is residing .
I tried using
ls -LR HttpXmlClient.java
( As i want to know the path of HttpXmlClient.java ) where it is residing exactly ??
Please let me know , thank you very much .
Use the find command:
find $PWD -name 'HttpXmlClient.java'
The pwd command is what you are looking for.
精彩评论