Browse Source

Update linux-examples.md

Håvard O. Nordstrand 5 years ago
parent
commit
059652f8b4
1 changed files with 2 additions and 2 deletions
  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