Module 3 - CH: 7, 8, 9

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which ps option can be used to display all currently running processes?

-e

You need to mount a USB flash drive on your Linux system. Given that your Linux system currently has one SATA hard drive (/dev/sda). What should be the flash drive's device name?

/dev/sdb

Which file is used to automatically mount filesystems when the system initially boots?

/etc/fstab

When running a Fedora Linux system that uses SysVinit scripts, where are these scripts stored in the filesystem?

/etc/rc.d/init.d

On which block is the first redundant copy of a partition's superblock stored by default on an ext4 filesystem?

32768

You've used fdisk to create a new MBR partition on the second hard drive in your Linux system. You want to use the partition as a second swap partition for your system. Which partition type do you need to change it to?

82

What is a zombie process?

A process that has finished executing but whose parent process has not released the child process's PID

Which type of backup backs up all files modified since the last full backup and does not flag the files as having been backed up?

Differential

Which RAID system has two additional hard drives for parity?

RAID 6

Which kill signal sends a CTRL-C key sequence to a running process?

SIGINT

After entering vi at the shell prompt, what type of process was created on the Linux system?

User

Which command can be used to create an image of the /dev/sda2 partition in the /mnt/usb/volback file?

dd if=/dev/sda2 of=/mnt/usb/volback

Which command will provide you with a summary of inode consumption on your /dev/sda2 partition?

df -i

You need to use fdisk to create an MBR partition for the fourth SATA hard drive in your system. Which is the correct command to do this?

fdisk /dev/sdd

A user needs to kill a hung process by its process' name, not its PID. Which utilities could best be used?

killall & pkill

Which command will create a compressed cpio archive of all the files in the Projects directory within the user's home directory to /mnt/usbdrive/Projectsbackup.cpio.gz?

ls ~/Projects | cpio -ov | gzip > /mnt/usbdrive/Projectsbackup.cpio.gz

Which commands will extend a logical volume filesystem from 500MB to 1000MB?

lvextend -L +500 /dev/lvm1 & lvextend -L 1000 /dev/lvm1

You need to format the first partition on the fourth SATA hard disk using the ext3 filesystem. Which is the correct command to do this?

mkfs -t ext3 /dev/sdd1

You have an ISO image file named discimage.iso in your home directory, and you want to mount it in the /mnt directory in your Linux filesystem so that you can extract several files from it. Which command will do this?

mount -o loop ~/discimage.iso /mnt

You need to mount an optical disc in /media/dvd. Which command will do this?

mount -t iso9660 /dev/cdrom/media/dvd

Load the myapp program from the shell prompt and run it in the background. Which command will do this?

myapp &

Create a new GPT partition on the /dev/sdc hard disk drive. After running gdisk /dev/sdc at the shell prompt, which command will create a new partition that is 100GB in size?

n

You want to run the rsync command to synchronize the home directory with another server on the network, but you know this command will take several hours to complete and you don't want to leave the system logged in during this time. Which commands will leave rsync running after logout?

nohup

Use ps to display extended information about only the processes associated with the current terminal session. Which command will do this?

ps -f

After adding a third 1TB solid state drive (SSD) to a Linux server, it needs to be added as storage space to an LVM volume group named DATA on the system. Which command should be entered first to do this?

pvcreate /dev/sdc

Which fstab mount option causes pending disk writes to be committed immediately?

sync

Create a backup of /etc to a removable hard disk drive mounted at /mnt/USB. Which tar command will do this?

tar -cfv /mnt/USB/backup.tar /etc

You are concerned about the condition of a hard drive containing a heavily used ext3 disk partition (/dev/sda2). To ensure data integrity, you want to increase the frequency of automatic fsck checks. Which utility should you use to configure this?

tune2fs

The /dev/sda1 partition on your Linux system currently has no volume label. Given that it is an ext4 partition, which command will set the label to "DATA"?

tune2fs -l Data /dev/sda1

Which command will compress files by default?

xy


Conjuntos de estudio relacionados

Combo with "Chapter 2 RAQ" and 7 others

View Set

Unit 3: Chapter 9 (Muscular System: Part A)

View Set

Prelim Business Studies Revision

View Set

Grade 6 - Science - Chapter 3 - Section 2

View Set