Managing Files - Red Hat ENTERPRISE LINUX 4 - STEP BY STEP GUIDE Manual

Table of Contents

Advertisement

Chapter 3. Managing Files and Directories
/var/www/html/pics/birthday/
/var/www/html/pics/birthday/. Clearly, the relative path is shorter in this case.
There is no right or wrong choice: both relative and absolute paths point to the same branch of the
tree. Choosing between the two is a matter of preference and convenience. Remember, the Nautilus
location bar does not recognize the ".." symbol — you must use an absolute path.

3.3. Managing Files

If you are new to Linux, file names may look strange to you. Linux file names may include exten-
sions you haven't seen before, may have multiple extensions, or may not have any at all. File names
may begin with a "." or may have other symbols in their names, including spaces. Below are some
guidelines regarding file names in Linux.
3.3.1. File Types
Below are the most common file types in Red Hat Enterprise Linux.
3.3.1.1. Compressed and Archived Files
— a file compressed with
.bz2
— a file compressed with
.gz
— a file archived with
.tar
.tbz or .tar.bz
.tgz or .tar.gz
— a file compressed with ZIP compression, commonly found in MS-DOS applications; most
.zip
compressed files for Linux use the
rare
For
information
Section 3.4 File Compression and Archiving.
3.3.1.2. File Formats
— an audio file
.au
— a GIF image file (short for Graphics Interchange Format)
.gif
.html or .htm
— a JPEG image file (short for Joint Photographic Experts Group)
.jpg
— an electronic image of a document; PDF stands for Portable Document Format
.pdf
— a PNG image file (short for Portable Network Graphic)
.png
— a PostScript file; formatted for printing
.ps
— a plain ASCII text file
.txt
— an audio file
.wav
— an image file (short for X Pixelmap)
.xpm
. The relative path is: ../birthday/. The absolute path is:
bzip2
gzip
(short for tape archive), also known as a tar file
tar
— a tarred and bzipped file
— a tarred and gzipped file
gzip
on
working
with
— an HTML file (short for Hyper Text Markup Language)
compression, so finding a
,
,
bzip2
gzip
archive for Linux files is
.zip
and
files,
tar
35
refer
to

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 4

Table of Contents