Linux+ Cert

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

What is the command to repeat the command you just executed?

!!

Which of the following will update package.rpm, only if an earlier version is already installed?

"rpm -F package.rpm" to Freshen the package. The Upgrade option will install the package even if no older versions have been installed.

Which of the following represent the first two characters of the Shebang character sequence? (Choose two)

#!

Which of the following files will clear the console's screen upon logout of the Login Shell?

.bash_logout

Which of the following would be the correct file extension if you performed the tar command using the -z flag?

.tar.gz

The ____ directory contains pointers to physical devices.

/dev

The udev populated which folder?

/dev

Match the following folders with their respective contents. /dev /root /home /lib /bin

/dev - Devices /root - Root user's home directory /home - user files /lib - system libraries /bin - system binaries

When rsyslog is loaded upon system startup, it creates a socket for other system processes to write to. Type this socket in below field.

/dev/log

System level cron jobs are defined in which file?

/etc/crontab

Which of the following files would you edit in order to permanently mount a partition, or device, to a location on the filesystem?

/etc/fstab

If you would like to change your hostname, which files do you need to modify? (Choose two)

/etc/hosts, etc/hostname

Which of the following is a configuration file that the ldconfig file uses when checking for shared libraries available.

/etc/ld.so.conf.

What is the file on a Linux machine that provides the list of known tcp/udp ports along with their respective services?

/etc/services

By default, the Login Shell will search the user directory and execute which of the following files first if found?

/home/user/.bash_profile

What directory stores the ACPI power management dynamic information

/proc/acpi

What would you use if you wanted to schedule a job on the 1st and 15th of each month at 1:00pm?

0 13 1,15 * *

You've setup your umask so that, by default, every new file grants read and write permission to the owner and the group, while only granting read permission to others. Which of the following represents your umask?

0002

What is the numerical value of the SIGHUP signal, often used with the kill command to cause a daemon to reload its configuration file?

1

Which of the following commands display your environmental variables?

env

Which command is used to execute a command or subprocess

exec

When using gdisk, which of the following is the largest byte-size you can choose from when configuring your First and Last sector sizes?

Petabytes

Which of the following is a function of the cpio command?

Pipes the results of another command into this command and outputs the results into a file

Which command outputs a file with all tab characters replaced by an appropriate number of space characters?

expand

What is true when comparing the ext2 and ext3 filesystems, in normal use?

ext3 is the same as ext2 with added journaling ext2 is faster than ext3

Swap space is the primary memory resource used by your device. After your Swap space is full, your device will utilize the physical memory (RAM). True or false?

false

Tar operates on the block device level, while dd operates at the file system level. True or false?

false

Which of the following are commands used for managing jobs, allowing them to be moved to and from the foreground and background?

fg and bg

Which of the following could you use to search a text file for the '$' symbol?

fgrep

In syslog-ng, log messages are normally sent to ________

files

Which command would you use to find all the files and directories in the current directory that have the 1777 permission

find . -perm 1777

Key features of Light DM are:

Supporting different desktop technologies, supporting different display technologies, being lightweight

Which of the following are true regarding the hardware clock? (Choose two)

The hardware clock keeps track of time when the system is turned off, The hardware clock is not used when the system is running

Which of the following are true regarding the hardware clock? (Choose two)

The hardware clock keeps track of time when the system is turned off. The hardware clock is not used when the system is running

What is the difference between using the kill command and the killall command? (Choose two)

The kill command requires a PID, whereas the killall command only requires the process name. You can kill multiple processes at a time with the killall command, whereas you can only kill one process at a time with the kill command.

Which of the following are reasons to use the find command over the locate command? (Choose two)

The locate command will only locate files and folders that have been created prior to the last database update, which will lead to untrustworthy information. The locate command will locate files and folders that have been deleted since the last database update, which will lead to untrustworthy information.

After creating a new SWAP partition (of the correct type), what is the next step towards making it active?

The next step in setting up the swap partition is the mkswap command. The swapon / swapoff commands cannot be run until after the swap signature has been created using the mkswap command.

Within the /etc/shadow file, each field is separated by a colon. Which of the following is housed within the third field of each row in the this file?

The number of the days occurring between January 1, 1970 and the last day the password was changed is in the third field. The first field is the username, and the second field is the encrypted password.

What does it mean when a regular expression is followed by a ?

The preceding item is optional and once at most

Renaming the file that a soft link is pointing to will result in which of the following?

The soft link will no longer be pointing to anything.

What does the exclamation point represent within the /etc/gshadow file?

There is not a group password

What is the function of the POST process?

To test and verify system components.

A journaled filesystem keeps a log of changes that are made to the filesystem in order to help during the reconstruction process in events such as a power outage. True or false?

True

A kernel module is like a driver and is used to add support for new hardware in a system. True or false?

True

After creating a new file, you should update your database prior to using the locate command in order to locate the new file. True or false?

True

Along with the unexpand command, you must use the -a flag in order to convert all space characters to tab characters. True or false?

True

HTTP, which uses port 80, is much less secure than HTTPS. True or false?

True

Having multiple partitions can protect against a folder filling up a single partition and bringing down the system. True or false?

True

Is the following statement true or false? The e2fsck command with the -c option will run the badblock command

True

Setting the LC_All variable will override all formally set variables within the locale configuration to reflect the LC_All variable.

True

Systemd is completely compatible with the UNIX SysV

True

The ";" separator can be entered between two commands on the same line, executing both commands regardless if the first command failed. The "&&" separator can be used to separate two commands on the same line, executing the second command only if the first was successful. True or false?

True

The /etc/hosts.allow file takes priority over the /etc/hosts.deny file. True or false?

True

The MBR is a boot sector stored at the beginning of the hard drive. If this data is corrupted, the drive is unusable. However, GPT stores several copies of this data across multiple locations on the disk, so it can recover if the data is corrupted. True or false?

True

The command to change the default Runlevel on CentOS is systemctl set-default. True of false?

True

There must be a Master Boot Record on the Boot Drive. True or false?

True

When you first connect to a server, you are sent the public key, which grants you access to concatenate the ssh_host_rsa_key file. True or false?

True

With dbus, the programs no longer have to look into the proc or dev system for particular file names, it receives signals from dbus. True or False?

True

You can use redirection to automatically send a collection of inputs to a command.

True

You can use the 'atrm' command to remove At Jobs from the At Queue. True or false?

True

You run the list command looking for a file that does not exist within your current directory. You use Standard Output to redirect the results into a file. This particular file will have a file size of 0. True or false?

True

rpm2cpio will strip an RPM file of all additional files, such as description and dependency files, leaving only the contents of the CPIO file. True or false?

True

Which of the following is the default for character encoding?

UTF-8

Which init system is covered by a copyright license agreement that contributors must sign in order to have their contributions included upstream?

Upstart

The /etc/passwd file contains which of the following? (Choose three)

User ID, Comment Field, Username

Which of the following should be used if you'd like to remove a package along with its configuration files?

apt-get purge

What is the effect of the -p option on the fsck command?

automatically attempt repair of all errors

Which of the following is the function of cpio?

cpio will combine, or archive, all specified files together

What does cupsaccept, cupsreject, cupsenable, and cupsdisable do?

cupsaccept - allows the printer to accept print jobs cupsreject - does the opposite cupsenable - enables the printer to print cubsdisable - does the opposite

Which of the following permissions would prevent others from deleting a file within a specific directory? (Choose two)

drwxrwxrwt drw-rw-rwT

Which of the following commands will provide a breakdown of how the disk space is used within a filesystem?

du shows filesystem usage. dd is used to convert and copy files df displays the filesystem usage, but not a breakdown within the filesystem ds is not a normal shell command

Which command stores critical ext2 file system data in a file?

e2image

Using Regular Expression, how would you find every three-letter word that starts with the letter 'A' or 'a', and does not start or end a sentence, within a text file?

egrep ' (A|a).. ' file.txt

Which of the following would you use to modify the sudo file?

visudo

Which of the following commands would you use to see what each user is currently doing?

w

The command man -k will search the man database for a command. What other command can be used to search the whatis database?

whatis

Which of the following is the recommended command when performing a complete check of the XFS filesystem without making changes?

xfs_repair -n

Which of the following would you use to disable access control, allowing clients to connect from any host?

xhost +

_____ will display a list of packages that need to be updated.

yum update

Order the following steps as if you wanted to yank the current line that you're on within the vi editor and put, or paste, it below the line you're currently on.

yy p

Match the command with their respective use: killall kill pkill

killall - must use full process name kill - must use PID pkill - can use partial process name

What command prints the shared libraries required by a specific program.

ldd

Which of the following commands will display the shared libraries needed for a specific program?

ldd

In order to make sure that LightDM will be started at boot you will need to enable _________ using systemctl

lightdm.service

Which of the following can ease administration of systems that generate a large number of log files, allowing for automatic compression and rotation?

logrotate

Which command should you run to ensure that both the Standard Error and Standard Output are redirected into the same file?

ls file > results.txt 2>&1

What command can be used to view the loaded modules formatted into a readable format.

lsmod

Which command has been run to show the following output (command only - no path or switches) Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 006: ID 040d:6205 VIA Technologies, Inc. USB 2.0 Card Reader Bus 004 Device 005: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter Bus 004 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 004 Device 003: ID 5543:0004 UC-Logic Technology Corp. Genius MousePen 5x4 Tablet Bus 004 Device 002: ID 09da:0006 A4 Tech Co., Ltd Optical Mouse WOP-35 / Trust 450L Optical Mouse Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 062: ID 10df:0500 In-Win Development, Inc. iAPP CR-e500 Card reader Bus 001 Device 003: ID 059b:0275 Iomega Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb

The following shows the first few entries from the lsusb command on a Linux system. $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 413c:2005 Dell Computer Corp. RT7D50 Keyboard ... Which of the following will just show the Keyboard entry using the Bus and Device:

lsusb -s 003:002

Which of the following will setup a swap space in a file or partition?

mkswap

Which command allows you to load or unload a kernel module?

modprobe

Which of the following has the highest priority? nice 0 B. nice -10 C. nice -19 D. nice --10

nice --10

What is the difference between the paste and join commands?

paste merges two text files side-by-side regardless of common fields, while join merges two text files side-by-side based on common fields

You have three different bash processes running, named bash apple, bash orange, and bash banana. If you'd like to terminate bash orange, while keeping bash apple and bash banana running, which of the following commands should you use?

pkill -f oran

What command can be used to alter the scheduling priority of a running process?

renice

Match the command with its appropriate function: rmdir touch mv mkdir rm cp

rmdir - deletes an empty directory touch - creates a file mv - renames/moves a folder mkdir - creates a directory rm - removes a file cp - copies a file

If you would like to replace every occurrence of the words Apple and apple with the word Cat, which of the following commands should be used?

sed ' s / [Aa]pple / Cat / g ' file.txt

Regardless of which email server you use, it will come with a _____ emulation layer.

sendmail

To Systemd, each operating system component is called a unit. Daemons are called ______ units and runlevels are called _______ target units.

service and target

What command can be run in the bash shell, to prevent accidentally overwriting a file. E.g. to prevent you from overwriting a file using a > redirect in the current shell?

set -o noclobber

What command can be used to poweroff a Linux computer first notifying logged in users about the planned event?

shutdown

Which of the following will allow you to remotely connect to an X server over the network?

ssh -X

Say that GDM is installed on your machine, running Ubuntu, Linux Mint or any other Debian-basedd Linux distro, and you want to reconfigure the system to use LightDM. Which command would you use? sudo dpkg-reconfigure lightdm

sudo dpkg-reconfigure lightdm

Which of the following would you perform if you wanted to search for all files with the GUID bit set?

sudo find / -perm -g+s

Which of the following would you use to sync your hardware clock with your system clock?

sudo hwclock -w

After modifying a .conf file, which of the following commands would you use to update the ld.so.cache file?

sudo ldconfig

You are helping a user that complains that she can't see her desktop. You know that many things can go wrong in a graphics stack and decide to stop lightDM. Which three word command do you use?

sudo stop lightdm

What was a significant change for how the Linux kernel 2.5 was created?

sysfs was introduced.

To start and stop systemd daemons, as well as configure them to automatically start during system initialization, you can use the ______ command

systemctl

Most of the rc scripts that are used by Systemd to start and stop daemons are stored in the /usr/lib/______/system directory and callede [daemon name].service

systemd

Match the command with its appropriate function. tail head split cat

tail - prints last 10 lines head - prints first 10 lines split - divides files into smaller files cat - concatenates files

Which of the following will create a tar file containing all the files of the directory /home into a file backup.tar?

tar -cf backup.tar /home

Which of the following would you use if you wanted to check each router that a packet encounters from one destination to another? (Choose two)

traceroute && tracepath

Which of the following commands will help you determine the timezone that you're currently in?

tzselect

Which of the following commands should you use in order to add read and write permissions to the owner of the file?

u +rw

What is the option that can be used on the uniq command to only show duplicate lines in a file?

uniq "-d or --repeated" filename

What command is used to remove a variable from the bash shell?

unset

What command would you use to get detailed information about USB devices?

usb-devices

You've mistakenly locked Bob's account. Which of the following commands would you use to unlock his account?

usermod -U bob

Which of the following would you perform to ensure that your file was executable?

chmod +x filename

Match the file permissions on the left with their octal notation on the right: -rwxrwxrwx -rw-rw-r-- -r--r----- -rwx-rw-r--

-rwxrwxrwx 777 -rw-rw-r-- 664 -r--r----- 440 -rwx-rw-r-- 764

If you would like to find a file that was modified within the last 8 days, which find options would you use? (Choose two)

-type f -mtime 8

What is the environment variable that holds the normal bash prompt?

$PS1

When editing a text file with vi, which of the following would you use if you'd like to replace every instance of the word 'cat' with the word 'dog' without confirming the replacement?

%S/cat/dog/gi

When using tar to concatenate multiple files together, which flags would you incorporate as part of the tar command in order to compress the concatenated file? (Choose two)

-z -j

Which of the following is a valid nice value that will result in the program receiving most favourable scheduling?

-20

Order the following Nice Levels from highest priority to lowest priority.

-20 - highest priority 19 - lowest priority

Which parameter is used with bzip2 to decompress files

-d or --decompress

When using the screen command, which flags would you use to detach a current screen session and reattach it to the terminal you're currently working with?

-dr

When using the Tar command, which flag must immediately precede the output file?

-f for file

What option on the rm command will prompt for confirmation before each file is deleted?

-i

Which of the following file permissions would allow an owner to read, write and execute a file, while the individuals within the group could only read the file?

-rwxr--r--

Order init systems from oldest to newest

1. SysVinit 2. Upstart 3. Systemd

By default, how many lines do the head and tail commands print?

10

Which permission has the SUID value "set"?

4755

Match the Runlevel to the corresponding Boot Target in Cent OS.

5 - graphical 3 - multi-user 0 - halt 6 - reboot 1 - rescue

If you install a package using aptitude, you cannot remove, or purge, that same package using apt-get. True or false?

False

If you change the system to runlevel ____ the system will reboot?

6

Match the following Runlevels with the Debian modes or functions. 6 2, 3, 4 5 1 0

6 - Reboot 2 - 4 multiuser 5 - GUI 1 - single user mode 0 - halt

Which of the following best describes a shared library?

Shared library code can be used by many programs to increase efficiency.

What is the octal value for the chmod command to set a file so that it can be read and written to by the owner, and read by the group and all other users? It should not be executable.

644

If you'd like to unmount a filesystem from the file hierarchy, you must use the 'umount' command followed by the location, as opposed to the 'umount' command followed by the device. True or false?

False

When creating a disk partition for a Linux Operating System Partition (e.g. to install an ext3 filesystem) what numerical type should it be set to?

83

You've opened up an old text file to use as a template for a new project. Once you've finished making changes to the old file, you decide to save it so that the old text file remains unchanged, while the new file has a new name. Which of the following would you use?

:w filename

Which of the following allow you to enter multiple commands on one line, enabling you to perform commands sequentially? (Choose two)

; &&

Which of the following would you use if you wanted to use Standard Input?

<

Which of the following can redirect the output of a command to a new file?

>

If you're using a Debian distribution, you can login using a text-only mode by changing to runlevel 3. True or false?

False

PIDs are never reused. True or false?

False

What is udev?

A program intended to manage devices

What is the file path where you can modify the default Runlevel in Cent OS?

A. /etc/inittab

Performing 'mkfs' on a filesystem containing data is safe. True or false?

False

Standard Output and Standard Error are the same, as they are both outputted onto the console. True or false?

False

Who has the ability to start a process at a Nice Level other than 0? (Choose two)

All users have the ability to start a process with a lower priority. Only the root user has the ability to start a process with a priority higher than 0

T/F. in Linux, the command-line interface operates as a component of the GUI.

False

When you manipulate environmental variables, they are saved after you logout of your present terminal session. True or false?

False

Within the /etc/security/limits.conf file, you can set limits for all users or a group, but you cannot set limits for one particular user. True or false?

False

You can alter the owner of a file using the chgrp command? True or false?

False

You can always enter help command name or command_name --help to get command syntax help

False

You can remove a directory using the rmdir command even if it contains files. True or false?

False

You can use 'ntpd -p' to query the NTP server and print its contents to the screen. True or false?

False

By default, the Local Loopback address on all devices is 192.168.0.1. True or false?

False / 127.0.0.1

The grub shell provides direct interactive access to the grub bootloader. (T/F)

False. The grub shell is an emulator; it doesn't run under the native environment.

Where does initrd load in the system?

B. It loads into RAM.

The /proc/ or proc file system will treat everything as a _____?

File

Common Linux shells include ________

BASH TC Korn

Correctly order the boot process: initrd BIOS MBR Kernel GRUB

BIOS MBR GRUB initrd Kernel

Which of the following statements are true regarding Special Permissions? (Choose three)

By default, the special permissions bit is set to 0. If the SUID and GUID are set, the special permissions bit is set to 6. If the GUID and Sticky Bit are set, the special permissions bit is set to 3.

What is the /var partition normally used for?

Files that change frequently

Which of the following is true regarding a soft limit?

Soft limits can be exceeded, but the overuse must be corrected within the grace period By default, the grace period is 7 days.

Lines in the /etc/rsyslog.conf file or in files within the /etc/rsyslog.d directory that starts with a # character are _______

Comments

Which of the following allows you to suspend a job that is currently running in the foreground?

Control + z

Name of the three modes of the cpio command

Copy-out, copy-in, copy-pass

As the root user, you can run the 'sudo passwd' command and change a user's password, but you must know their original password in order to do so. True or false?

False

By default, running the pgrep command without any flags will display the PID and the process name. True or false?

False

Which of the following can be done if you'd like to grant each employee access to Cron jobs? (Choose two)

Ensure that /etc/cron.allow or /etc/cron.deny files do not exist && Ensure that everyone is added to the /etc/cron.allow file

Which of the following keys will transition you from Insert Mode to Command Mode?

Esc

Which key will allow you to access BIOS during bootup?

F1, F10, F11, DEL

Which of the following refers to the name given to the theme of the display manager?

Greeter Session

Which of the following statements are true regarding hard and soft links? (Choose two)

Hard links link directly to an inode on a hard drive. Soft links link directly to a file name.

Which of the following would you use to add a tall tan giraffe to the Animal Table, which contains name, height, and color fields?

INSERT INTO animal (name, color, height) VALUES ('giraffe', 'tan', 'tall');

Which of the following would cause a WHILE loop to infinitely execute?

If the WHILE statement remains true

What are the operational modes of the vi editor?

Insert Administrator

Which of the following best describes the function of the pipe symbol?

It redirects the Standard Output of one command into the Standard Input of another

Which of the following statements are true regarding Systemd? (Choose two)

It's not as compatible as Upstart. It has a faster startup when compared to SysVinit.

Match the following keys within the left column with their alternative on the right: J H L K

J - Down H - Left L - Right K - UP

Which command allows you to load or unload a kernel module?

Modprobe

Which of the following is true regarding Transmission Control Protocol? Select all that apply.

More reliable, but slower than UDP

Which syslog-ng features are available in rsyslog

Native support for writing to MySQL databases, ability to send and receive compressed syslog messages, and ability to configure database servers

Would a user (not root) other than the owner be able to change to a directory with permissions r-xr--r--

No. Only the owner can change to the directory. Other users have read access, but execute permission is also needed to change to a directory.

In database administration, which of the following would you use if you'd like to alphabetize a field of names?

ORDER BY

By default, the kill command sends which signal if you don't specify a signal?

SIGTERM

Match the signal name with its proper signal number: SIGTERM SIGHUP SIGKILL SIGINT

SIGTERM - 15 SIGHUP - 1 SIGKILL - 9 SIGINT - 2

Which of the following are Universal Access tabs that you can use to set your accessibility options? (Choose two)

Seeing Pointing and Clicking

Which of the following are init programs? (Choose three)

SysVinit Upstart Systemd

Which init system is the newest?

Systemd

Which of the init systems have the most in common?

Systemd and Upstart

When using the find command, you can execute a command on the results that are found by using the exec command followed by the command that you'd like to execute on the results. True or false?

T

When viewing your current jobs, what does the '+' and '-' signify?

The '+' signifies the most recent job, and the '-' signifies the second most recent job.

Which of the following are true about GUID? (Choose two)

The GUID is set within the group permissions. Within the group permissions, if the GUID and execute permissions are set, it will be represented by an 's'.

Which of the following best explains the function of the Tab key?

The Tab key auto-completes your command after you've entered a partial command.

Which of the following statements are true regarding IPv6? (Choose three)

The address space is 128 bits in separated by colons, ranges from 0000-FFFF

What is the difference between the block limit and the inode limit?

The block limit is the amount of byte-space that can be used, while the inode limit is the number of files that can be created

What is the correct syntax to configure the file package.deb?

The command to configure package.deb would be: dpkg --configure package. The -i option would install as well as configure the package. The -c option will list the contents of the package, the -s option will list the status of a package.

What command can remove sections from each line of a file. Typically used to extract from a certain column of multicolumn output. Do not include programming languages

The cut command. Awk would be another possible solution, but that is a programming language.

You've made a change in your /etc/hosts file to ensure that all employees attempting to navigate to Facebook are redirected to your Company's website. After you've made the alteration, you attempt to navigate to Facebook, but you are not redirected to your Company's website like you thought. Which of the following adjustments do you still need to make?

You must update your /etc/nsswitch.conf file to specify that the /etc/hosts file will take priority over the DNS server

Which of the following are accessibility options on the login page? (Choose three)

Zoom Sticky Keys Mouse Keys

When typing at the shell, what character can be used to split a command across multiple lines?

\

Which of the following is true regarding YUM? (Choose two)

YUM will validate that the local cache is accurate by checking the internet repository. YUM will install all dependancies needed by a program to function properly.

Will the owner be able to update a file with permissions 0755?

Yes

Would a user (not root) other than the owner be able to read a file with permission 744

Yes. The 4 gives read permission to those in the group and other users

As a regular user, how can you forward your mail to another user?

You can create a .forward file

To pass a kernel boot time command, where do you initiate the command?

You must be at the console.

Messages enter rsyslog with the help of input modulees. Then, they are passed to ruleset where rules are conditionally applied. When a rule matches, the message is transferred to an _________, which then does something to the message.

action

Which commands can you use to create a new user account?

adduser useradd

_____ is more powerful than gzip when it comes to compressing data.

bzip2

Depending upon your initialization system, there are multiple ways to disable a service. When using SysV, which of the following can be used to disable httpd? (Choose two)

chkconfig httpd off sysv-rc conf httpd off

Starting from /home/user1, which of the following will finish in /var/log? Select all that apply:

cd ../../var/log and cd /var/log.

Three modes of the vi editor

command (normal), ex, and insert (edit)

This command is used to examine or control the kernel ring buffer and helps users to print out their bootup messages

dmesg

What command would you use to display system event information?

dmesg

Match the following Delete options with their respective functions. dd dw d3d dl d5l

dd Delete Line dw Delete Word d3d Delete 3 lines dl Delete character d5l Delete 5 Characters

BIOS or UEFI allow you to configure, enable, and disable the _____ that are bound to the motherboard.

devices

The Linux kernel emits several messages even before the system is far along in the boot process to run syslogd to capture them. Since the messages might still be important, the Linux kernel stores them internally, and you can access them using the ______ command

dmesg

Which of the following commands and flags would automatically attempt to fix a detected filesystem corruption without prompting for permission?

fsck -f -y

When using the sed command, which flag must you use if you'd like to replace each match, as opposed to the first match only?

g

GRUB stands for _____.

grand unified boot loader

Which command do you use to create a new group?

groupadd

Which of the following files should you expect to see within the Grub folder when using Grub 2?

grub.cfg

Which of the following commands list the history of your previously executed commands?

history

What command can be used to save standard input into a file as well as send it to standard output? Enter the command name only.

tee

What command can be used to change the current runlevel of the system which is more direct than using the shutdown / reboot commands?

telinit or init

syslog-ng takes incoming log messages from defined 'sources' and forwards them to the appropriate destinations, based on powerful filter directives. In a typical set-up, syslog-ng will read messages from three sources. List them

the default /dev/log (device) /proc/kmsg (kernel messages) syslog-ng ("internal log messages"

What command is used to to display a repetetive update of the status of the ongoing process

top


Set pelajaran terkait

Pediatric Medication Calculations, Calculation Quiz I, IV dosage calculation practice test, HESI Dosage Calculations Practice Exam, Intravenous (IV) calculations, Intravenous Calculations,

View Set

Ch. 43 Disorders of the male reproductive system

View Set

Chapter 51: Nursing Care During a Pediatric Emergency

View Set

Module 23: ATP and Cellular Work

View Set

MGP CIDE Introducción a la Administración y Gestión Pública

View Set