質問

In bash, I can redirect stderr using 2>&1 with the find command and pipe it to grep to remove any Permission denied messages. How do I do this in csh? I am getting the error message Ambiguous output redirect. I have already tried the syntax at this question, and it gives me the error described.

役に立ちましたか?

解決 2

Per the link that @swdev posted in a comment above, the only way to do this by sending it to a file and then using grep on that file when you are in csh.

他のヒント

Theoretically you can use "! -executable -prune -o ..." to enter only accessible directories.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top