diff --git a/pages/common/fd.md b/pages/common/fd.md index a0eede896..5c611ffca 100644 --- a/pages/common/fd.md +++ b/pages/common/fd.md @@ -1,23 +1,23 @@ # fd -> A simple, fast and user-friendly alternative to find. +> A simple, fast and user-friendly alternative to "find". -- Find files under current directory that match a pattern: +- Find files matching the given pattern in the current directory: `fd {{pattern}}` -- Find files that begin with foo: +- Find files that begin with "foo": `fd {{'^foo'}}` - Find files with a specific extension: -`fd --extension {{.ext}} {{pattern}}` +`fd --extension {{txt}}` -- Find files under a specific directory: +- Find files in a specific directory: `fd {{pattern}} {{path/to/dir}}` -- Include ignored and hidden files in search: +- Include ignored and hidden files in the search: `fd --hidden --no-ignore {{pattern}}`