1. 程式人生 > >linux下查找文件

linux下查找文件

spa body bsp gpo 文件 grep post fin type

查詢l文件名為test.txt的文件

find / -name test.txt

從根目錄開始查找文件名為“.php”的文件,並找出包含“test”的行

find / -type f -name "*.php" | xargs grep "test"

在根目錄下查找某個文件

find . -name "test"

linux下查找文件