[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: (no subject)

"Satheesh Kumar. N.K" wrote:
> Hi,
> How can I make out if a file is binary or text given its path?
> Is there a system call which will help me through this? Note that
> I don't want to test if a file is block special, char special etc. All I
> want is if a given file is binary or text.

$ file <filename>