260 Managing Files and Directories
So add the .daily to the command (or simply type the .d and press Ta b again). Press Tab again,
and the result will be:
logrotate tetex.cron tmpwatch updatedb.cron
And there’sourupdatedb.cron command. We can simply add it to the end of the path we’ve got
so far (or just type u and press
Tab yet again) and press Enter to run updatedb.cron.
17.4 Identifying and Working with File Types
If you’re new to Linux, it won’t take long before you begin seeing files with extensions that may seem
foreign. A file’s extension is the last part of a file’s name, after the final dot (in the file sneakers.txt,
“txt” was that file’sextension).
Here’s a brief listing of extensions and their meanings:
17.4.1 Compressed/Archived Files
.Z – a compressed file
.tar – an archive file (short for tape archive)
.gz – a compressed file (gzipped)
.tgz – a tarred and gzipped file
17.4.2 File Formats
.txt – a plain ASCII text file
.html/.htm – an HTML file
.ps – aPostScriptfile; formatted for printing
.au – an audio file
.wav – an audio file
.xpm – an image file
.jpg – a graphical or image file, such as a photo or artwork
.gif – a graphical or image file
.png – a graphical or image file
Comments to this Manuals