Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Instrukcja Użytkownika Strona 273

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 300
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 272
17.4 Identifying and Working with File Types 261
17.4.3 System Files
.rpm a Red Hat Package Manager le
.conf aconguration le
.a an archive le
.lock a lock”file; determines whether a program is in use
17.4.4 Programming and Scripting Files
.h a C and C++ program language header le
.c a C program language source code le
.cpp a C++ program language source code le
.o aprogramobjectle
.pl aPerlscript
.tcl aTCLscript
.so a library le
But le extensions are not always used, or used consistently. So what happens when a le doesnt
have an extension, or the le doesnt seem to be what the extension says its supposed to be?
Thats when the file command can come in handy.
In 16 on page 217, we created a le called saturday without an extension. Using the file com-
mand, we can tell what the le is by typing:
file saturday
and well see itsatextle. Any le thats designated a text le should be readable using cat, more,
or less.
Tip: To learn more about the file command, read the file man page by typing man
file.
Przeglądanie stron 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 299 300

Komentarze do niniejszej Instrukcji

Brak uwag