What is fd?
fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find. While it does not aim to support all of find’s powerful functionality, it provides sensible (opinionated) defaults for a majority of use cases.
How to install fd on MAC OS?
1 2 3 4 5 |
## using homebrew brew install fd ## using MacPort sudo port install fd |
How to install fd on Windows OS?
1 2 3 4 5 |
## using snoop scoop install fd ## using chocolatey choco install fd |
How to install fd on Ubuntu OS?
1 2 3 4 5 |
## on latest version of Ubuntu sudo apt install fd-find ## on older version of Ubuntu sudo dpkg -i fd_8.3.2_amd64.deb # adapt version number and architecture |
How to install fd on Debian OS?
1 2 |
## using apt-get sudo apt-get install fd-find |
How to install fd on Fedora OS?
1 2 |
## using dnf dnf install fd-find |
How to install fd on Alpine Linux OS?
1 2 |
## using apk apk add fd |
How to install fd on Gentoo Linux OS?
1 2 |
## using emerge emerge -av fd |
How to install fd on openSUSE Linux OS?
1 2 |
## using zypper zypper in fd |
How to install fd on Void Linux OS?
1 2 |
## using xbps-install xbps-install -S fd |
How to install fd on FreeBDS OS?
1 2 |
## using pkg pkg install fd-find |
Check if the installation was successfull:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
## try to get fd help instructions fd --help ## if the installation is proper, should return the help details USAGE: fd [FLAGS/OPTIONS] [ FLAGS: -H, --hidden Search hidden files and directories -I, --no-ignore Do not respect .(git|fd)ignore files -s, --case-sensitive Case-sensitive search (default: smart case) -i, --ignore-case Case-insensitive search (default: smart case) -g, --glob Glob-based search (default: regular expression) -a, --absolute-path Show absolute instead of relative paths -l, --list-details Use a long listing format with file metadata -L, --follow Follow symbolic links -p, --full-path Search full abs. path (default: filename only) -h, --help Prints help information -V, --version Prints version information OPTIONS: -d, --max-depth -t, --type executable (x), empty (e), socket (s), pipe (p) -e, --extension -x, --exec -X, --exec-batch -E, --exclude -c, --color -S, --size --changed-within --changed-before -o, --owner ARGS: |
To get more details on fd, please refer https://github.com/sharkdp/fd