e****e 发帖数: 179 | 1 if I only know portion of the file name, for example, I only know "name" for a
file "filename", I want to find this file in unix,how can I find it.
thanks! | c*r 发帖数: 278 | 2 find -name "*name*" -print
【在 e****e 的大作中提到】 : if I only know portion of the file name, for example, I only know "name" for a : file "filename", I want to find this file in unix,how can I find it. : thanks!
| e****e 发帖数: 179 | 3 what do u mean starting dir? if my dir is /home/temp, should I type:
find -name "*name*" -print
but it don't work ya
for a
【在 c*r 的大作中提到】 : find -name "*name*" -print
| c*r 发帖数: 278 | 4 find /home/temp -name "*name*" -print
"<..>" as the delimiter of whaterver you typed.
【在 e****e 的大作中提到】 : what do u mean starting dir? if my dir is /home/temp, should I type: : find -name "*name*" -print : but it don't work ya : : for a
| e****e 发帖数: 179 | 5 got it, many thanks!!
【在 c*r 的大作中提到】 : find /home/temp -name "*name*" -print : "<..>" as the delimiter of whaterver you typed.
| p******h 发帖数: 1783 | 6 locate?
【在 e****e 的大作中提到】 : if I only know portion of the file name, for example, I only know "name" for a : file "filename", I want to find this file in unix,how can I find it. : thanks!
|
|