Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
bash では、コマンドで 2>&1 を使用して stderr をリダイレクトしfind、パイプしてメッセージgrepを削除できPermission deniedます。cshでこれを行うにはどうすればよいですか? エラー メッセージが表示されますAmbiguous output redirect。この質問で構文を既に試しましたが、説明されているエラーが表示されます。
find
grep
Permission denied
Ambiguous output redirect
@swdevが上記のコメントに投稿したリンクによると、これを行う唯一の方法は、ファイルに送信してから、grepcshにいるときにそのファイルで使用することです。
理論的には、「! -executable -prune -o ...」を使用して、アクセス可能なディレクトリのみを入力できます。