Missing Or Incorrect Extension - Red Hat LINUX 7.2 Manual

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

196
C.1.4 Programming and Scripting Files
.h - a C or C++ program language header file
.c - a C program language source code file
.cpp - a C++ program language source code file
.o - a program object file
.pl - a Perl script
.tcl - a TCL script
.so - a library file
C.2 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:
and you will see ASCII text, or something similar, telling you it is a text file.
file saturday
Appendix C:Identifying/Finding File Extensions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents