Binary file

Patrick Dupre pdupre at gmx.com
Mon Oct 5 11:44:48 UTC 2015


Hello,

When I make a grep on files, I can get:
Binary file foo matches.

How can I recognize a binary file (without using grep)?
Actually it seems to be a file with characters above the standard ascii character.

I did not find any option of ls for example.

Thank

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre at gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


More information about the users mailing list