I ran the file command against a file and got this result:

data (gzip compressed data, was <fd:1> from unix)

What does the "<fd:1> from unix" mean?

link|improve this question
Whats the actual command that you executed? – ssapkota Jul 10 '11 at 14:06
feedback

1 Answer

up vote 3 down vote accepted

fd:1 is "file descriptor 1", which means standard output.

My guess is that the file is the result of a pipe from the output of another file like cat file|gzip - > new.gz

I was not able to reproduce that output, but it could be that different versions of gzip handle that differently.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.