Linux quiz Question

61 terms by jhembree1

Create a new folder

Advertisement Upgrade to remove ads

You can edit the quotas for certain users by using the ____ command. Answer

edquota

To check a filesystem for errors, you can use the ____ command, which can check filesystems of many different types. Answer

fsck

Errors on a filesystem are often referred to as filesystem ____ and are common on most filesystems. Answer

corruption

The easiest method for monitoring free space by mounted filesystems is to use the ____ command. Answer

df

To create partitions after installation, you can use the ____ command. Answer

fdisk

Data is read off of hard disks in concentric circles called ____. Answer

tracks

Linux requires ____ partition(s) at minimum. Answer

two

CD-ROMs typically use the ____ filesystem type. Answer

iso9660

To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, you can simply type the ____ command. Answer

mount -a

To format a filesystem with a specified filesystem type, you can use the ____ option with the mkfs command. Answer

-t

The ____ filesystem contains most of the operating system files. Answer

root

The ____ filesystem is used by software programs that write to a CD-RW or DVD-RW drive. Answer

udf

The ____ device file represents the second serial port on the system (COM2). Answer

/dev/ttyS1

The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave). Answer

 /dev/hdb1

Devices that transfer data in a character-by-character fashion are referred to as ____ devices. Answer

 character

The ____ command will confirm the system directory that you are currently in.

pwd

The ____ metacharacter can also be used to refer to the current user's home directory.

~

To move from the /home/joe/test/data to the /home/joe directory, use the ____ command.

cd ../..

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.

Tab

Most files on a Linux system that contain configuration information are ____ files.

text

To view a list of files and their type, use the ____ switch to the ls command.

-F

The ____ symbol indicates a linked file.

@

The ____ command can be used to provide a long listing for each file in a certain directory.

ls -l

Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?

[1-4

The ____ command displays the last five lines of a text file.

tail -5

Which is an extended regular expression metacharacter?

{}

The ____ regular expression metacharacter matches 0 or more occurrences of the previous character.

*

Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?

Emacs editor

The ____ editor is functionally analogous to the Windows Wordpad and Notepad editors.

gedit

In the FHS, the ____ directory contains the Linux kernel and files used by the boot loader.

/boot

n the FHS, the ____ directory is the root user's home directory.

/root

n the FHS, the ____ directory contains most system commands and utilities.

/usr

Copying a file can be accomplished using the ____ command.

cp

The ____ command takes a list of arguments specifying the absolute or relative pathnames of files to remove.

rm

The fastest method to search for files in the Linux directory tree is to use the ____ command.

locate

You can see the contents of a certain variable in memory by using the ____ metacharacter with the echo command.

$

The ____ section of a filesystem is the section that contains information about the filesystem in general.

superblock

To create a hard link, you must use the ____ command.

ln

The section of an inode that stores permissions is called the ____ of the file.

mode

In a file's mode, if a permission is unavailable, a(n) ____ character replaces its position in the mode.

-

If a user has ____ permission for a file, they can open, read, and edit the contents of a file.

write

When using the chmod command for a specific file, the ____ argument would add read permission and remove write permission for the group permissions.

g+r-w

When using the chmod command, the mode rwx can be represented by the number ____.

7

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.

chmod 7777 name

The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave).

/dev/hdb1

The ____ device file represents the second serial port on the system (COM2).

/dev/ttyS1

A(n) ____ is a piece of software that tells the operating system how to use a specific hardware device.

device driver

he ____ indicates the stability of a Linux kernel.

minor number

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.

Open Source Software

The ____ stipulates that the source code of any software published under its license must be freely available.

GNU General Public License

is software that is distributed free of charge, but the source code is not available.

Freeware

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?

Stability and security

HOWTO documents are centrally collected by the ____.

Linux Documentation Project

Which of the following is the greatest expense for companies using Linux?

Hiring people to maintain the Linux system

Solaris, HP-UX and AIX are all ____ of Unix.

flavors

The source code for Linux was released in ____.

1991

The core component of the GUI in Linux is referred to as ____.

X Windows

A ____ is merely a compressed archive of files that usually contain scripts that install the software contents to the correct location on the system.

tarball

____ Linux is the most common Linux distribution used today.

Red Hat

A(n) ____ service provides an efficient method for transferring files over the Internet.

FTP

A(n) ____ service allows users to post messages in forums.

News

Please allow access to your computer’s microphone to use Voice Recording.

Having trouble? Click here for help.

We can’t access your microphone!

Click the icon above to update your browser permissions above and try again

Example:

Reload the page to try again!

Reload

Press Cmd-0 to reset your zoom

Press Ctrl-0 to reset your zoom

It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.

Please upgrade Flash or install Chrome
to use Voice Recording.

For more help, see our troubleshooting page.

Your microphone is muted

For help fixing this issue, see this FAQ.

Star this term

You can study starred terms together

NEW! Voice Recording

Create Set