Web page hosting, cheap domain name & website promotion services
  

 Home

Red Hat Linux 7.2: The Official Red Hat Linux Getting Started Guide
PrevAppendix C. Identifying/Finding File ExtensionsNext

Missing or Incorrect Extension?

File extensions are not always used, or used consistently. So what happens when a file does not have an extension, or the file does not seem to be what the extension says it is supposed to be?

That is when the file command can be helpful.

If you create or find a file without an extension, use the file command to find out what the file is. For example, if you have a file called saturday with no file estension, type:

      file saturday
    

and you will see ASCII text, or something similar, telling you it is a text file.


PrevHomeNext
Identifying/Finding File ExtensionsUpSystem Directories
 

 

 

 

Website promotion and ranking services | Active-Domain.com: Domain name registration | Cheap domain registrar 

Disclaimer: For authoritative source or latest update to this documentation, please refer to http://www.redhat.com/docs/manuals/linux/

 

 
Quotes: Be like the sun and meadow, which are not in the least concerned about the coming winter.