Final Exam

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

After logging into a terminal, a user will receive an interface known as which option? A. Processor B. User interface C. Swap memory D. Shell

D. Shell

An archive of files that usually contain scripts that install the software contents to the correct location on the system is referred to as a: A. Router B. Package number C. DBMS D. Tarball

D. Tarball

Which command should you run after installing a new kernel module to update the module dependency database? A. insmod B. modprobe C. lsmod D. depmod

D. depmod

Which of the following can be used for comparing values within an if statement? (Choose two.) A. -lt B. -neq C. = D. -grt

A. -lt C. =

Which of the following can be used to mount a filesystem? (Choose all that apply.) A. A device path such as /dev/sdb2 B. A filesystem UUID C. A filesystem label D. A filesystem nickname configured in /etc/mtab

A. A device path such as /dev/sdb2 B. A filesystem UUID C. A filesystem label

Which of the following commands will display all files and directories within the /var/log directory or its subdirectories which are owned by the root user? (Choose two.) A. find /var/log -user root B. find -uid root -print /var/log C. find -user root -print /var/log D. find -path /var/log -user root

A. find /var/log -user root

Which of the following commands will prompt to convert an MBR partition to GPT, thus destroying all existing MBR partitions on a disk? A. gdisk B. cfdisk C. gfdisk D. iconv

A. gdisk

Which of the following commands will create a symbolic link named foo.txt to an original file named bar.txt A. ln bar.txt foo.txt B. ln foo.txt bar.txt C. ln -s bar.txt foo.txt D. ln -h foo.txt bar.txt

A. ln bar.txt foo.txt

Which of the following commands can be used to display general hardware information for the entire system? A. lshw B. lscpu C. hwdisp D. hware

A. lshw

Which of the following is a valid method of running a script named myscript.sh? (Choose two) A. source myscript.sh B. run myscript.sh C. exec ./myscript.sh D. ./myscript.sh

A. source myscript.sh D. ./myscript.sh

The Linux kernel exists as a file named: A. vmlinuz B. vmlinux C. kernel.0 D. krn.linux

A. vmlinuz

Which of the following commands will return one result of where the grep binary executable is located? (Choose two.) A. which grep B. locate grep C. type grep D. find grep

A. which grep C. type grep

Which of the following options will change the ownership of files and directories recursively within a directory? (Choose all that apply.) A. -r B. -R C. --recursive D. --follow

B. -R C. --recursive

Callie wants to make sure that a filesystem is checked every 20 days. Which of the following options, when used with the tune2fs command, would set a full filesystem check to run every 14 days? A. -i 14 B. -i 14d C. -d 14 D. -i 336

B. -i 14d

When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be: A. Arguments B. Options C. Keywords D. Metacharacters

B. Options

Which command can be used to create a new command that will monitor the contents of auth.log as they get added to the file? A. create showauth='tail -f /var/log/auth.log' B. alias showauth='tail -f /var/log/auth.log' C. new showauth as 'cat -f /var/log/auth.log' D. ln showauth='tail -f /var/log/auth.log'

B. alias showauth='tail -f /var/log/auth.log'

A calendar for the current month can be shown on the command line by issuing which command? A. date B. cal C. w D. id

B. cal

Which of the following commands will display the current CPU(s) detected by a Linux system? A. cat /sys/cpuinfo B. cat /proc/cpuinfo C. cat /etc/cpu.conf D. cat /var/log/boothw.long

B. cat /proc/cpuinfo

Select the command that can be used to change the root filesystem to a different directory, such as when you are in a rescue environment. A. change_root B. chroot C. set_root D. croot

B. chroot

If the mkfs command is executed to create a filesystem and only the block device name is specified, which of the following filesystems will be created? A. exFAT B. ext2 C. ext3 D. ext4

B. ext2

Which of the following terms describes a type of useful and legitimate software that is distributed by a developer where they do not charge for the software but also do not distribute the source code along with it? A. shareware B. freeware C. malware D. tryware

B. freeware

Which of the following commands will not interpret regular expressions, which translates into faster results being returned? (Choose all that apply.) A. Grep B. Grep -F C. eGrep D. fGrep

B. grep -F D. fgrep

Select the command that can be used to provide a long listing for each file directory: A. ls -T B. ls -L C. ls -F D. ls -I

B. ls - L

Select the utility below that will start and perform a thorough check of RAM for hardware errors when run. A. memcheck68 B. memtest86 C. fixram D. fsck

B. memtest86

The subdirectory newdir does not currently exist in the current directory that you are in. Which of the following commands will create a new directory named newdir and then change into that directory? (Choose two.) A. mkdir new dir || cd newdir B. mkdir newdir; cd newdir C. mkdir newdir && cd newdir D. mkdir newdir >> cd newdir

B. mkdir newdir; cd newdir C. mkdir newdir && cd newdir

Which of the following commands cannot be used to create an exFAT filesystem on a USB thumb drive that is recognized as /dev/sdb? A. mkfs.exfat /dev/sdb1 B. mkfs exfat /dev/sdb1 C. mkexfatfs /dev/sdb1 D. mke2fs.exfat /dev/sdb1

B. mkfs exfat /dev/sdb1

Jean installs a distribution of Linux on a workstation and attempts to run the locate command to find a certain file. Instead of returning the results she expected, an error message is displayed that it cannot find the mlocate.db file in its default location. Which of the following commands should Jean run in an attempt to resolve this problem? A. apt upgrade mlocate B. updatedb C. locate --update D. mlocate --update

B. updatedb

On a system using the KVM hypervisor, which of the following modules would you expect to see as part of the output of the lsmod command on a guest Linux virtual machine? A. hv- B. virtio C. vmw D. hyperv_

B. virtio

Which Linux command can be utilized to display your current login name? A. who B. whoami C. id D. w

B. whoami

Archie wants to optimize an XFS filesystem and minimize the chance of future corruption. Which of the following commands will compact or otherwise improve the layout of the contiguous blocks of file data for an XFS filesystem? A. defrag B. xfs_fsr C. fsck D. xfs_db

B. xfs_fsr

Which of the following directories is created by default when an ext2, ext3, or ext4 filesystem is created on a device that is used by the fsck utility? A. /var/crash/ B. /var/tmp/ C. /lost+found/ D. /proc/tmp

C. /lost+found/

Which of the following represents stderr at the command line when used for redirection? A. 0 B. 1 C. 2 D. 3

C. 2

What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output? A. \ B. & C. ; D. |

C. ;

Which of the following will the split command do on a file when no other options are specified? A. It will split a file into new files that are 1 kilobyte each B. It will split a file into new files that are 1 megabyte each C. It will split a file into new equally sized files that are 1/10th of the original file size. D. It will split a file into new files that are 1,000 lines each

C. It will split a file into new equally sized files that are 1/10th of the original file size.

What two Linux distributions below utilize the Debian package manager by default? A. Red Hat Linux B. SUSE Linux C. Linux Mint D. Ubuntu Linux

C. Linux Mint D. Ubuntu Linux

Which of the following is the common escape sequence to display a horizontal tab using the echo command? A. \tab B. ?tab C. \t D. %tab

C. \t

Dustin runs a command at the command line trying to find out what kernel version the system is running. However, it doesn't give him the information he needs. He knows there is an option that can be used to display the kernel version. How can he find out which option to use? A. ver --help B. help version C. man uname D. lsproc -?

C. man uname

Which of the following commands will display the output of a file while also displaying a line number at the left side of each line for the /etc/passwd file? A. numbers /etc/passwd B. wc -l /etc/passwd C. nl /etc/passwd D. ln /etc/passwd

C. nl /etc/passwd

Which of the following types of servers can be used to cache requested Internet resources so that they can be more quickly delivered to users requesting the same resource while at the same time reducing the burden on the external network connection to the Internet for an organization? A. file server B. DNS server C. proxy server D. DHCP server

C. proxy server

Which of the following commands will count down from 10 to 1? A. seq 10 1 B. seq 10 -1 C. seq 10 -1 1 D. seq 10 1 -1

C. seq 10 -1 1

Elijah is done working with an external USB hard drive and wants to properly disconnect it. Which of the following commands should he use before unplugging the USB cable? A. unmount B. disable C. umount D. mount --eject

C. umount

What Linux distribution is the most commonly used distribution within organizations today? A. Mandrake B. SuSE C. Debian D. Red Hat

D. Red Hat

Jackson wants to automatically mount a secondary internal hard drive when his Linux workstation boots up. In which of the following files should he configure an entry for the partition on the drive that he wants to mount? A. /etc/ftab B. /etc/crontab C. /etc/mtab D. /etc/fstab

D. /etc/fstab

To ensure that Linux has detected the correct amount of RAM in the system after installation, you should view the contents of what file in the proc directory? A. /proc/mem B. /proc/cpuinfo C. /proc/meoryinfo D. /proc/meminfo

D. /proc/meminfo

If the physical extent of a volume group is set to 32MB, what is the maximum logical volume size? A. 256GB B. 512GB C. 1TB D. 2TB

D. 2TB

Which of the following will take output from a command and append it to the end of a file? A. < B. << C. > D. >>

D. >>

Kate wants to compare two text files to identify what might have been changed from on version to another. Which of the following commands can she use to do this? A. match document1.txt document2.txt B. version --compare document1.txt document2.txt C. compare document1.txt document2.txt D. diff document1.txt document2.txt

D. diff document1.txt document2.txt

In Fedora 20, what journaling database system has replaced the logging system used to record the messages normally stored within the boot.log, messages, and syslog files? A. systemd B. messaged C. logd D. journald

D. journald

After a shell is no longer needed, what command can be given to exit the shell? A. exit B. stop C. reset D. quit

D. quit

What command can be used to display the last five lines of a text file? A. end -5 B. head -5 C. stop -5 D. tail -5

D. tail -5


Conjuntos de estudio relacionados

Manufacturing Processes Test 3 Study Guide

View Set

TRG Neurosensory and Musculoskeletal

View Set

BIOS 1700 Exam 2: Chapter 8 Notes

View Set

French 2 Qu'est-ce qui est arrivé?

View Set

Econ 120 (Macro) - Chapter 15 Quiz Questions

View Set