开发者

How to know the Path of a File inside a recursive directory structure

开发者 https://www.devze.com 2023-04-12 08:02 出处:网络
I am using L开发者_JS百科inux server through putty tool . Inside the linux server , I entered into a folder which is aWeb Application (Thisis consisting of a number of sub directories with in it )

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号