diff --git a/kernel/guest-setup/fedora.sh b/kernel/guest-setup/fedora.sh index 8870a58af..cadf41b8a 100644 --- a/kernel/guest-setup/fedora.sh +++ b/kernel/guest-setup/fedora.sh @@ -80,7 +80,7 @@ sudo dnf install python3-pip pip install pre-commit tmuxp -sudo dnf install -y fd-find sysstat +sudo dnf install -y fd-find sysstat ipython # npm install @lint-md/cli@beta # diff --git a/sheet.md b/sheet.md index caa23ef50..5ec3f9681 100644 --- a/sheet.md +++ b/sheet.md @@ -201,3 +201,10 @@ rg -l blk_update_request ## wget 递归拷贝: https://stackoverflow.com/questions/273743/using-wget-to-recursively-fetch-a-directory-with-arbitrary-files-in-it + + +## fd +fd 使用的是 regex +```sh +fd ".*\.md" | wc -l +```