Linux Certification, 7th
Edition Test Bank – Jason
Eckert
Binary Data Files - answer-- A program is typically associated with several supporting
binary data files that store information such as common functions and graphics.
- A file that contains machine language (binary 1s and 0s) and stores information (such
as common functions and graphics) used by binary compiled programs.
Text Files - answer-- files on a Linux system that contain configuration information
- contain data that can be read in a text editor
Linked files - answer-Files that have an association with one another; they can
represent the same data or they can point to another file (also known as a shortcut file)
Special Device Files - answer-less common than the other file types...important for
systems administrators because they represent different devices on the system, such
as hard disks and serial ports
Named Pipe File - answer-- uncommon and used primarily by administrators.
- identify channels that pass information from one process in memory to another, and in
some cases they can be mediated by files on the hard drive.
- A temporary connection that sends information from one command or process in
memory to another; it can also be represented by a file on the filesystem.
Socket File - answer-A named pipe connecting processes on two different computers; it
can also be represented by a file on the filesystem.
Filenames - answer-- Include up to 255 charecter.
- Rarely longer than 20 characters on most linux systems.
.bin - answer-Binary executable program files (similar to .exe files within Windows)
, .c - answer-C programming language source code files
.cc, .cpp - answer-C++ programming Language souce code files
.html, .htm - answer-HTML (Hypertext Markup Language files)
.ps - answer-Files formatted for printing with postscrip
.txt - answer-Text Files
.tar - answer-Archived files (contain other files within)
.gz, .bz2, .xz, .Z - answer-Compressed files
.tar.gz, .tgz, .tar.bz2, .tar.xz, .tar.Z - answer-Compressed archived files
.conf, .cfg - answer-Configuration files (contain text)
.so - answer-Shared object (programming library) files
.o, .ko - answer-Compiled object files
.pl - answer-PERL (Practical Extraction and Report Language) programs
.tcl - answer-Tcl (Tool Command Language) programs
jpg, .jpeg, .png, .tiff, .xpm, .gif - answer-Binary files that contain graphical images
.sh - answer-Shell scripts (contain text that is executed by the shell
ls command - answer-- A Linux command used to list the files in a given directory.
- When running the ls command, you will notice that files of different types are often
represented as different colors; however, the specific colors used to represent files of
certain types might vary from terminal to terminal and distribution to distribution. As a
result, do not assume color alone indicates the file type.
pwd command - answer-print working directory
dir - answer-Windows uses the dir command to list files and directories; to simplify the
learning of Linux for Windows users, there is a dir command in Linux, which is simply a
copy of, or shortcut to, the ls comman
ls -F - answer-To view a list of files and their type
@ symbol - answer-indicates a linked file