PATHにあるディレクトリに対して「-execdir」アクションを使用すると安全でないのはなぜですか?
-execdirfind のアクション-execとnot の組み合わせを使用するのは安全ではないのはなぜですか? 以下のコマンドを実行すると、次のプロンプトメッセージが表示されます。 /path/to/currentDir/$ find . -type f -name 'partOfFileNames*' -execdir rm -- {} + find: The current directory is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove the current directory from your $PATH (that is, remove "." …