Solaris Advanced User's Guide

Displaying File Type (file)

Some files, such as binary files and executable files, are not printable and cannot be displayed on the screen. Use the file command to show the file type.


$ file *
myscript:      executable shell script
print.ps:      PostScript document
save.txt:      ascii text