網頁

2013年2月23日

[linux] 搜尋檔案內容

指令範例:
grep -rn 'keyword' /
參數說明:
參數說明
- r包含子目錄
- n顯示搜尋字串所在行號
'keyword'搜尋字串內容
/搜尋路徑