瀏覽代碼

Update linux-examples.md

Håvard O. Nordstrand 5 年之前
父節點
當前提交
059652f8b4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      config/pc/linux-examples.md

+ 2 - 2
config/pc/linux-examples.md

@@ -27,8 +27,8 @@ Debian 10 Buster
   - By UID: `find / -user <UID>`
   - Without a user: `find / -nouser`
   - With setuid permission bit: `find / -perm /4000`
-- Recursive search and replace: `find <dir> ( -type d -name .git -prune ) -o -type f -print0 | xargs -0 sed -i 's/123/456/g'`
-  - `( -type d -name .git -prune ) -o` skips `.git` directories and can be excluded outside of git repos.
+- Recursive search and replace: `find <dir> \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/123/456/g'`
+  - `-type d -name .git -prune` skips `.git` directories and can be excluded outside of git repos.
 
 ### Fun