Chapter 1,2,3,4,5 and 7 Linux/UNIX

Ace your homework & exams now with Quizwiz!

tracks

Data is read from physical hard drives in concentric circles known as which of the following?

/usr

Under the root directory in Linux, which directory contains system commands and utilities?

[1-4]

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

cal

A calendar for the current month can be shown on the command line by issuing which command?

4

A hard drive or SSD can be divided into partitions. What is the maximum number of primary partitions that can be used on these devices?

True

At minimum, Linux typically requires only two partitions to be created: a partition that is mounted to the root directory, and a partition for virtual memory.​ (T,F)

false

Each device attached to a system can be represented by multiple device files.

dd

In vi, using command mode, what ​series of key presses below will cause the line on which the cursor is on to be deleted?

root

In what filesystem are most of the operating system files contained?

command mode

In what mode does the vi editor open by default?​

false

It is acceptable to use shell metacharacters when naming files. (T,F)

Tab

If enough unique letters of a directory name have been typed, what key can be pressed to activate the BASH shell's completion feature?

tty1

In Fedora 20, what terminal is used for graphical login?​

In

In order to create a hard link, what command must be used?

touch file1

In order to quickly create an empty file, what command can be used?​

w

In the fdisk interactive mode, what letter can be used to save changes to the partition table and exit?

False

In the past, SATA hard disks were referred to as Integrated Drive Electronics (IDE).​ (T,F)

false

Pressing the Esc key at the prompt while using the more command displays a help screen.(T,F)

du

Select the command below that shows the size of a directory and its contents in kilobytes:​

5

Select the mode below that corresponds to setting r-x:

*

Select the regular expression metacharacter that matches 0 or more occurrences of the previous character.

False

Shell scripts do not require the execute permission in order to be run the same way binary programs are run.​

Live media image

Some Linux distributions have the ability to boot an image from install media and run entirely from RAM. What is the name for this kind of image?​

/boot

The Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?

vmlinuz

The Linux kernel exists as a file named:​

True

The database for the locate command can be updated manually by using the updatedb command.

-t

The mkfs command can be issued with what switch in order to specify a filesystem type?

the mode of the file

The section of an inode that stores permissions is referred to as what?

tac

To display a text file in reverse order, what command should be used?​

mount -a

To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used?

false

Volumes can contain a filesystem but they can't be mounted to directories within the Linux filesystem hierarchy.

g+r-w

What argument can be used with the chmod command to add read permission and remove write permission for a group on a file?

tail -5

What command can be used to display the last five lines of a text file?

82

What hex code is associated with a Linux swap type partition?​

DVD

What installation media source is the most common source for Linux packages?

2

What is the minimum number of user accounts that must be created at install time?

;

What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output?

execute

What permission (when applied to a directory) allows a user to enter the directory and work with directory contents?​

write

What permission (when assigned to a file) grants a user the ability to open, read, and edit the contents of a file?

superblock

What section of a filesystem contains information about the filesystem in general?

cp rm

What two commands below will work recursively if specified with the -R option?

lvdisplay vgdisplay

What two commands can be used to show information about physical volumes and logical volumes respectively?​

SATA and SCSI

What two disk systems allow for the use of more than four hard drives or SSDs in a single system?​

@

When issuing the ls -F command, what special character indicates a linked file?

option

When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be:

7

When using the chmod command, the mode rwx can be represented by which number?

{}

Which character(s) below represent extended regular expression metacharacter(s)?

df

Which command below provides the easiest method for monitoring free space on mounted filesystems?

/dev/hdb1

Which device file below represents the first primary partition on the second PATA hard disk drive?

-F

Which switch below can be added to the ls command to show a list of files and their type?

pvcreate

​What command below can be used to create a new physical volume?


Related study sets

Science What Changes Occur from Infancy to Adulthood?

View Set

Информатика ЕНТ подготовка 2023

View Set

Adaptive Quiz Nursing Care of the Newborn

View Set

The law of increasing costs is best defined as

View Set