Linux quiz Question – Flashcards
Unlock all answers in this set
Unlock answersquestion
You can edit the quotas for certain users by using the ____ command. Answer
answer
edquota
question
To check a filesystem for errors, you can use the ____ command, which can check filesystems of many different types. Answer
answer
fsck
question
Errors on a filesystem are often referred to as filesystem ____ and are common on most filesystems. Answer
answer
corruption
question
The easiest method for monitoring free space by mounted filesystems is to use the ____ command. Answer
answer
df
question
To create partitions after installation, you can use the ____ command. Answer
answer
fdisk
question
Data is read off of hard disks in concentric circles called ____. Answer
answer
tracks
question
Linux requires ____ partition(s) at minimum. Answer
answer
two
question
CD-ROMs typically use the ____ filesystem type. Answer
answer
iso9660
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
question
To format a filesystem with a specified filesystem type, you can use the ____ option with the mkfs command. Answer
answer
-t
question
The ____ filesystem contains most of the operating system files. Answer
answer
root
question
The ____ filesystem is used by software programs that write to a CD-RW or DVD-RW drive. Answer
answer
udf
question
The ____ device file represents the second serial port on the system (COM2). Answer
answer
/dev/ttyS1
question
The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave). Answer
answer
/dev/hdb1
question
Devices that transfer data in a character-by-character fashion are referred to as ____ devices. Answer
answer
character
question
The ____ command will confirm the system directory that you are currently in.
answer
pwd
question
The ____ metacharacter can also be used to refer to the current user's home directory.
answer
~
question
To move from the /home/joe/test/data to the /home/joe directory, use the ____ command.
answer
cd ../..
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
question
Most files on a Linux system that contain configuration information are ____ files.
answer
text
question
To view a list of files and their type, use the ____ switch to the ls command.
answer
-F
question
The ____ symbol indicates a linked file.
answer
@
question
The ____ command can be used to provide a long listing for each file in a certain directory.
answer
ls -l
question
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
answer
[1-4
question
The ____ command displays the last five lines of a text file.
answer
tail -5
question
Which is an extended regular expression metacharacter?
answer
{}
question
The ____ regular expression metacharacter matches 0 or more occurrences of the previous character.
answer
*
question
Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?
answer
Emacs editor
question
The ____ editor is functionally analogous to the Windows Wordpad and Notepad editors.
answer
gedit
question
In the FHS, the ____ directory contains the Linux kernel and files used by the boot loader.
answer
/boot
question
n the FHS, the ____ directory is the root user's home directory.
answer
/root
question
n the FHS, the ____ directory contains most system commands and utilities.
answer
/usr
question
Copying a file can be accomplished using the ____ command.
answer
cp
question
The ____ command takes a list of arguments specifying the absolute or relative pathnames of files to remove.
answer
rm
question
The fastest method to search for files in the Linux directory tree is to use the ____ command.
answer
locate
question
You can see the contents of a certain variable in memory by using the ____ metacharacter with the echo command.
answer
$
question
The ____ section of a filesystem is the section that contains information about the filesystem in general.
answer
superblock
question
To create a hard link, you must use the ____ command.
answer
ln
question
The section of an inode that stores permissions is called the ____ of the file.
answer
mode
question
In a file's mode, if a permission is unavailable, a(n) ____ character replaces its position in the mode.
answer
-
question
If a user has ____ permission for a file, they can open, read, and edit the contents of a file.
answer
write
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
question
When using the chmod command, the mode rwx can be represented by the number ____.
answer
7
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
question
The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave).
answer
/dev/hdb1
question
The ____ device file represents the second serial port on the system (COM2).
answer
/dev/ttyS1
question
A(n) ____ is a piece of software that tells the operating system how to use a specific hardware device.
answer
device driver
question
he ____ indicates the stability of a Linux kernel.
answer
minor number
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
question
The ____ stipulates that the source code of any software published under its license must be freely available.
answer
GNU General Public License
question
is software that is distributed free of charge, but the source code is not available.
answer
Freeware
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
question
HOWTO documents are centrally collected by the ____.
answer
Linux Documentation Project
question
Which of the following is the greatest expense for companies using Linux?
answer
Hiring people to maintain the Linux system
question
Solaris, HP-UX and AIX are all ____ of Unix.
answer
flavors
question
The source code for Linux was released in ____.
answer
1991
question
The core component of the GUI in Linux is referred to as ____.
answer
X Windows
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
question
____ Linux is the most common Linux distribution used today.
answer
Red Hat
question
A(n) ____ service provides an efficient method for transferring files over the Internet.
answer
FTP
question
A(n) ____ service allows users to post messages in forums.
answer
News