You might be able to use the `file` command for determining this.
You might be able to use the
filecommand for determining this.