CSCI-25 Linux 1 Final Exam

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

df

The _____ command will display how much space a filesystem has free?

-qa

What are the correct options for the rpm command to display a list of all installed packages?

Typically stored in ROM Tests the components upon startup. Change settings to affect the use of external devices

What are three characteristics of firmware

grub-md5-crypt

What command can be used to create an encrypted password that can be used with the password directive in GRUB Legacy:

ln /tmp/test /tmp/data

What command will create a hard link to /tmp/test named /tmp/data

The number of inodes

What determines how many files can be stored in a filesystem?

include ld.so.conf.d/*.conf

What is in the ldconfig configuration file by default?

16 EiB

What is the maximum memory that a 64 bit processor can theoretically use?

It should only be executed on unmounted filesystems

What is true about the fsck command?

-u

What option to the fdisk command is used to utilize sector unit sizes?

shutdown -r & reboot

What two commands can be used to reboot the system?

Dual boot system

A system that contains Linux as well as a Microsoft Windows operating system is called a:

t

After running fdisk -cu /dev/sdb, what fdisk command will allow you to change a partition type?

n

After running fdisk -cu /dev/sdb, what fdisk command will allow you to create a new partition?

d

After running fdisk -cu /dev/sdb, what fdisk command will allow you to delete a partition?

vi

By default, the edquota command will use which editor?

timeout=

In GRUB Legacy, the _____ directive indicates how long to wait before automatically booting the default operating system.

/home

In what directory are you most likely to find user's home directories?

/opt

In which directory are you most likely to find software from third-party publishers?

False

Interrupts cannot be shared between devices. True or False?

klog, syslogd, rsyslogd

List the three daemon used for logging

inode

Missing files don't have their original file names, instead they are named with their _____ number?

DEFAULT_RUNLEVEL

On a Ubuntu system, what variable defines the default runlevel in the /etc/init/rc-sysinit.conf file?

The ramdisk & The kernel

The bootloader (GRUB/LILO) loads what two components into memory?

The dump level

The fifth field in the /etc/fstab file is used to specify:

The device to mount

The first field in the /etc/fstab file is used to specify:

init

The first process that the kernel launches is called the _____ process.

The firmware (BIOS/UEFI) stage

The first stage of the boot process is:

The init phase

The fourth stage of the boot process is:

Determined when the filesystem is created

The number of inodes in a filesystem is:

/boot/grub2/grub.cfg

The primary configuration file for the GRUB 2 on a Fedora system is _____.

aquota.user, aquota.group

The quotacheck command creates databases with which names?

Extract files from a ".rpm" file & List the content of a ".rpm" file

The rpm2cpio command can be used to:

The fsck order

The sixth field in the /etc/fstab file is used to specify:

Programs use a more consistent base of code & Programs can be smaller

These two are benefits of a shared library:

swapon

To activate a swap space that has been initialized, you can execute:

--md5

To use an encrypted password in the GRUB Legacy configuration file, use the _____ option to the password directive.

To query the package file, you have to add the -p option. You must use the full filename when querying the package.

What two differences are there between querying an installed RPM and an RPM package file with the rpm command

87589

What value represents the inode number in the following output of the ls -li command: 87589 -rw-r--r--. 2 root root 83 Mar 4 22:45 myhosts

The dynamic linker

What will find and load shared libraries when a program is executed?

UEFI

Which bootloader includes the Secure Boot feature?

ldd

Which command is used to display the shared libraries of a dynamically linked executable?

chkconfig

Which command is used to view the services that are set to start or stop automatically?

dpkg -l

Which command may be used to get a list of the installed Debian packages?

rpm -q --scripts

Which command shows the scripts that may be part of a RPM package?

apt-get purge

Which command will remove all files that belong to a Debian package?

apt-cache depends

Which command will show the dependencies of a Debian package?

rpm -qpR

Which command will show the dependencies of an RPM package?

apt-get update

Which command will update the list of available packages for APT?

/

Which directory is the root file system mounted on?

/var

Which directory structure has directories which may have heavy activity for services like mail, ftp, httpd and printing?

LD_LIBRARY_PATH

Which environment variable can a user set, that will affect where shared libraries can be located and loaded?

ro

Which mount option mounts a filesystem allowing reading only?

mount -o remount

Which mount option will remount a currently mounted filesystem?

-nn

Which option of the lspci command would you use to troubleshoot a network interface card?

-h

Which option to the df command displays the size of a filesystem in "human readable" format?

-h

Which option to the dumpe2fs command will have the command display only superblock information?

-t

Which option to the fsck command will allow you to specify the filesystem type?

-n

Which option to the fsck command will answer "no" to all queries?

-y

Which option to the fsck command will answer "yes" to all queries?

-m

Which option to the tune2fs command will change the space reserved for system use?

IO Ports, IO Memory, Interrupts, and DMA Channels

Which resources are used by devices to communicate with the system?

0

Which runlevel number defines halting the system?

4

Which runlevel number is defined as "user-definable"?

dpkg -s apt-cache show

Which two commands will show detailed information about a Debian package?

soft

Which type of link can be made to a file on another filesystem, hard or soft?

2

Which value represents the hard link count in the following output of the ls -li command: 87589 -rw-r--r--. 2 root root 83 Mar 4 22:45 myhosts

df

You can display current filesystem space usage with the _____ command.

quotacheck

command is used to create or update the quota database files

ln -s /tmp/test /tmp/data

the command to create a soft link to /tmp/test named /tmp/data


Ensembles d'études connexes

PULL, THROW. Read the sentences on the left and match the phrasal verbs with their correct number in the box next to each definition.

View Set

Spinal Cord and Spinal Nerves Quiz

View Set

Chapter 12 Med Surg - Pain Management

View Set

Chapter 3, 4, and 5 Quiz (Art Appreciation)

View Set