Reed_Xia Reed_Xia - 4 months ago 20
Linux Question

How to find certain file's full path using shell?

I get a problem, in my Ubuntu, I work in the directory like

, there are many sub-directories here, and I want to get all of the file in the directories, but you may know, if I use "
find -name
", it will return the list of relative paths, like following.


Can you please share how to get the full path list as below? Thanks!



with readlink ;

find -name -exec readlink -f {} \;