OpenWindows Advanced User's Guide

3.2.8 Displaying File Type (file)

Some files, such as binary files and executable files, are not printable and cannot be displayed on the screen. The file command can be handy if you're not sure of the file type.

Use the file command to show the file type:

$ file copyfile
copyfile:    ascii text