문제

file <(echo "abcdefghijk")

It would be really cool if this could print something like "ASCII text", i.e. that file won't just give up and tell me it's a fifo.

도움이 되었습니까?

해결책

Then mislead him:

$ echo "abcdefghijk" | file -
/dev/stdin: ASCII text
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top