Linux quiz Question – Flashcards
61 test answers
Unlock all answers in this set
Unlock answers 61question
To create partitions after installation, you can use the ____ command. Answer
answer
fdisk
Unlock the answer
question
Data is read off of hard disks in concentric circles called ____. Answer
answer
tracks
Unlock the answer
question
Linux requires ____ partition(s) at minimum. Answer
answer
two
Unlock the answer
question
CD-ROMs typically use the ____ filesystem type. Answer
answer
iso9660
Unlock the answer
question
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, you can simply type the ____ command. Answer
answer
mount -a
Unlock the answer
question
To format a filesystem with a specified filesystem type, you can use the ____ option with the mkfs command. Answer
answer
-t
Unlock the answer
question
The ____ filesystem contains most of the operating system files. Answer
answer
root
Unlock the answer
question
The ____ filesystem is used by software programs that write to a CD-RW or DVD-RW drive. Answer
answer
udf
Unlock the answer
question
The ____ device file represents the second serial port on the system (COM2). Answer
answer
/dev/ttyS1
Unlock the answer
question
The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave). Answer
answer
/dev/hdb1
Unlock the answer
question
Devices that transfer data in a character-by-character fashion are referred to as ____ devices. Answer
answer
character
Unlock the answer
question
The ____ command will confirm the system directory that you are currently in.
answer
pwd
Unlock the answer
question
The ____ metacharacter can also be used to refer to the current user's home directory.
answer
~
Unlock the answer
question
To move from the /home/joe/test/data to the /home/joe directory, use the ____ command.
answer
cd ../..
Unlock the answer
question
If you type enough unique letters of a directory and press ____ key, the BASH shell will find the intended file or directory being specified and fill in the appropriate information.
answer
Tab
Unlock the answer
question
Most files on a Linux system that contain configuration information are ____ files.
answer
text
Unlock the answer
question
To view a list of files and their type, use the ____ switch to the ls command.
answer
-F
Unlock the answer
question
The ____ symbol indicates a linked file.
answer
@
Unlock the answer
question
The ____ command can be used to provide a long listing for each file in a certain directory.
answer
ls -l
Unlock the answer
question
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
answer
[1-4
Unlock the answer
question
The ____ command displays the last five lines of a text file.
answer
tail -5
Unlock the answer
question
Which is an extended regular expression metacharacter?
answer
{}
Unlock the answer
question
The ____ regular expression metacharacter matches 0 or more occurrences of the previous character.
answer
*
Unlock the answer
question
Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?
answer
Emacs editor
Unlock the answer
question
The ____ editor is functionally analogous to the Windows Wordpad and Notepad editors.
answer
gedit
Unlock the answer
question
In the FHS, the ____ directory contains the Linux kernel and files used by the boot loader.
answer
/boot
Unlock the answer
question
n the FHS, the ____ directory is the root user's home directory.
answer
/root
Unlock the answer
question
n the FHS, the ____ directory contains most system commands and utilities.
answer
/usr
Unlock the answer
question
Copying a file can be accomplished using the ____ command.
answer
cp
Unlock the answer
question
The ____ command takes a list of arguments specifying the absolute or relative pathnames of files to remove.
answer
rm
Unlock the answer
question
The fastest method to search for files in the Linux directory tree is to use the ____ command.
answer
locate
Unlock the answer
question
You can see the contents of a certain variable in memory by using the ____ metacharacter with the echo command.
answer
$
Unlock the answer
question
The ____ section of a filesystem is the section that contains information about the filesystem in general.
answer
superblock
Unlock the answer
question
To create a hard link, you must use the ____ command.
answer
ln
Unlock the answer
question
The section of an inode that stores permissions is called the ____ of the file.
answer
mode
Unlock the answer
question
In a file's mode, if a permission is unavailable, a(n) ____ character replaces its position in the mode.
answer
-
Unlock the answer
question
If a user has ____ permission for a file, they can open, read, and edit the contents of a file.
answer
write
Unlock the answer
question
When using the chmod command for a specific file, the ____ argument would add read permission and remove write permission for the group permissions.
answer
g+r-w
Unlock the answer
question
When using the chmod command, the mode rwx can be represented by the number ____.
answer
7
Unlock the answer
question
To set all of the special permissions on a certain file or directory, you can use the command ____, where name is the name of the file or directory.
answer
chmod 7777 name
Unlock the answer
question
The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave).
answer
/dev/hdb1
Unlock the answer
question
The ____ device file represents the second serial port on the system (COM2).
answer
/dev/ttyS1
Unlock the answer
question
A(n) ____ is a piece of software that tells the operating system how to use a specific hardware device.
answer
device driver
Unlock the answer
question
he ____ indicates the stability of a Linux kernel.
answer
minor number
Unlock the answer
question
The concept of ____ enables software developers to read other developers' source code, modify that source code to make the software better, and redistribute that source code to other developers who might improve it further.
answer
Open Source Software
Unlock the answer
question
The ____ stipulates that the source code of any software published under its license must be freely available.
answer
GNU General Public License
Unlock the answer
question
is software that is distributed free of charge, but the source code is not available.
answer
Freeware
Unlock the answer
question
Consider the phrase "collaboration between several developers with a common need speeds up software creation, and when bugs in the software are found by these users, bug fixes are created very quickly" from the chapter. This statement describes which advantage of the Linux operating system?
answer
Stability and security
Unlock the answer
question
HOWTO documents are centrally collected by the ____.
answer
Linux Documentation Project
Unlock the answer
question
Which of the following is the greatest expense for companies using Linux?
answer
Hiring people to maintain the Linux system
Unlock the answer
question
Solaris, HP-UX and AIX are all ____ of Unix.
answer
flavors
Unlock the answer
question
The source code for Linux was released in ____.
answer
1991
Unlock the answer
question
The core component of the GUI in Linux is referred to as ____.
answer
X Windows
Unlock the answer
question
A ____ is merely a compressed archive of files that usually contain scripts that install the software contents to the correct location on the system.
answer
tarball
Unlock the answer
question
____ Linux is the most common Linux distribution used today.
answer
Red Hat
Unlock the answer
question
A(n) ____ service provides an efficient method for transferring files over the Internet.
answer
FTP
Unlock the answer
question
A(n) ____ service allows users to post messages in forums.
answer
News
Unlock the answer