如题。find home |grep config.txt 会把home下所有的confg.txt路径返回,但是我只想要 home下某层子文件夹minihome下的config.txt的路径,如何写脚本?
find /home/dir1/dir2/minihome -name "config.txt"