FINAL REDHAT

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

What will be the result of the following command? DATA=abc echo '*** $DATA ***'

*** $DATA ***

You want to display all the man pages about man. Which man option would be used?

-a

Which file is used to store information about local users?

/etc/passwd

What is the best choice for the userid (UID) and groupid (GID) of user root?

0

What is the name of the default command interpreter for the Red Hat Linux operating system?

BASH

What is the correct documentation for pinfo?

pinfo pinfo

Which command will make the RHEL8 NTP client/server service persistent across reboots?

systemctl enable chronyd.service

What is the first step in an OpenSSH connection to a remote host?

When the SSH client connects to the SSH server, the server sends a copy of its public key for verification.

Refer to the following transcript. What output will the command ?a* produce?

baker cast easy

Which statement will save the output of the find command to ~/foundit.txt, and discard standard error

find / -name "ifcfg*" 1>~/foundit.txt 2>/dev/null

Refer to the following transcript. Which statement about tracepath is most correct? [root@servera ~]# tracepath classroom.example.com1?: [LOCALHOST] pmtu 15001: workstation.lab.example.com 1.208ms1: workstation.lab.example.com 1.153ms2: classroom.example.com 1.394ms reachedResume: pmtu 1500 hops 2 back 2[root@servera ~]#

DNS is working on host servera.

Which statements about host names and IP addresses are most correct (choose 2)?

DNS requires that a nameserver is configured. Static name resolution is configured in /etc/hosts.

Refer to the following transcript. Which statements about the network configuration are most correct (choose 3)?

The IPv4 network configuration was manually entered. The DNS server IP address is 172.25.250.254. The Gateway IP address is 172.25.250.254.

Which is the most correct way to save work and exit the vim editor?

:wq

Which statements about signals that control processes are most correct (choose 3)?

Signal 20, TSTP, is sent with the keys CTRL+z Signal 2, INT, is sent with the keys CTRL+c Signal 9, Kill, cannot be blocked- kills a process with extreme prejudice.

Which statements about hardening the SSH server configuration file are most correct (choose 3)?

Allow root user SSH login with only key-based authentication with the option PermitRootLogin without-password Block root user from SSH login with the option PermitRootLogin no Block password authentication with the option PasswordAuthtication no

Which statements related to controlling jobs on a Linux host are most correct (choose 3)?

Both foreground and background processes may write to a terminal. Only one foreground process at a time may read input from a particular terminal window. A terminal may have one foreground process and multiple background processes.

Which command is used to generate a man keyword index?

mandb

Match the special permission name on the left with the description on the right.

u+s

What is the command used to show how long a system has been running and its load average?

uptime

What is the name of the default file that is used to hold a remote user SSH public key?

~/.ssh/authorized_keys

A command or function is only available in man or info pages, but not both.

False

Refer to the following transcript. Which statements about SSH known host key management are most correct (choose 2)? cat xxxfoundation0,172.25.254.250 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNEMEKWiYjQNyg8Bi0DBzZHPi1ha5Et/eHooGdRHCzjFXAQVjUlERdSpV3veaDYUn7Uq+n1WqQ1dxNHa1YC7l0k=localhost ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDv8414r+4qk1/wOd/LMlFnTyC7u6TCSN4e/aadmOcu06otwAnUL3St0wqLmS1FL1zSpRc4ywGTjZ8/XlFLppjI=

No SSH server verification will be made on the SSH server from localhost as long as the public key does not change. The file used to store the public keys is ~/.ssh/known_hosts

Which statements about OpenSSH are most correct (choose 3)?

WIth OpenSSH, a user may access a shell on the remote host. WIth OpenSSH, a user may execute a command on the remote host and view the output locally.. The command to identify users on a host is w.

Which statement will correctly retrieve entries related only to the previous system boot?

journalctl -b -1

What is the command to display standard output to both the terminal and file ~/sysconfig.txt?

ls -l /etc/sysconfig | tee ~/sysconfig.txt

Refer to the following transcript. Which command will display able alpha cast charlie?

ls [ac]*

Which command displays a list of up to the last 1000 commands (by default)?

history

Which statements are methods used to test DNS resolution (choose 2)?

host 172.25.250.10 host bastion

Local group information is contained in which file?

/etc/group

Which command will show a hierarchial list that maps dependencies to start the service unit?

systemctl list-dependencies chronyd.service

Refer to the following transcript. What is the PID of the process using the most CPU percentage?

31098

Which statements about soft links are most correct (choose 3)?

A soft link may link files and directories on different file systems. A soft link may be made between two directories. If the soft link source file is removed, the new link will be broken and the data gone.

Match the command line shortcut on the left with the correct description on the right

CTRL+A Jump to the beginning of the command line CTRL+E Jump to the end of the command line CTRL+U Clear from the cursor to the beginning of the command line CTRL+K Clear from the cursor to the end of the command line CTRL+LeftArrow Jump to the beginning of the previous word on the command line CTRL+RightArrow Jump to the end of the next word on the command line

Which examples of variable assignment are most correct (choose 4)?

FILE=/etc/passwd export PATH={$PATH}:/root/bin export EDITOR=vim DAYS_SEVEN="the number of days in the week"

Which heading of the man page would one expect to find information about the files and directories related to the man page?

FILES

Which TCP/IP network model is responsible for IP addresses?

Network

Which statements about the umask command are most correct (choose 3)?

Persistent umask settings for individual users are set in files ~/.bash_profile and ~/.bashrc. umask 0 will set file permissions to 666 and directory permissions to 777. Persistent umask settings for BASH shell users are set in /etc/profile and /etc/bashrc.

Which statements are true concerning SSH key-based authentication (choose 3)?

SSH private keys may be created without a passphrase. The command ssh-copy-id transfers the user's public key to the user on the remote host. A public-private key-pair is created with the ssh-keygen utility.

Which statements related to linux processes are most correct (choose 3)?

The GNU version of the ps command supports double-hyphens followed by a long option. To determine current process states on a linux host, issue the command ps aux. Each process has a unique id called the PID.

Refer to the following transcript from the output of the pstree command. Which statements about process control commands are most correct (choose 2)?

The command pkill -SIGKILL -u student will terminate user student. The command pkill -P 30233 will kill only the child processes for user student.

Refer to the following ifconfig command output that lists network interfaces. What type of interface is enp1s0? [student@serverb ~]$ ifconfigenp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500inet 172.25.250.11 netmask 255.255.255.0 broadcast 172.25.250.255inet6 fe80::a4da:d8e2:a903:ea03 prefixlen 64 scopeid 0x20<link>ether 52:54:00:00:fa:0b txqueuelen 1000 (Ethernet)RX packets 2225915 bytes 128907971 (122.9 MiB)RX errors 0 dropped 1219972 overruns 0 frame 0TX packets 1006600 bytes 74449064 (71.0 MiB)TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536inet 127.0.0.1 netmask 255.0.0.0inet6 ::1 prefixlen 128 scopeid 0x10<host>loop txqueuelen 1000 (Local Loopback)RX packets 131 bytes 25928 (25.3 KiB)RX errors 0 dropped 0 overruns 0 frame 0TX packets 131 bytes 25928 (25.3 KiB)TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

This is an ethernet PCI device on bus 1, slot 0.

Refer to the following transcript from the output of the ps aux command. Which statements about process control commands are most correct (choose 3)?

To kill all sleep processes, use the command killall sleep. kill -l will list all signal names and numbers. To kill sleep 10000, use the command kill 26684.

Which statement about RHEL8 networking is most correct?

With the default network configuration, to deactivate network connection eth0 use the command nmcli dev dis eth0.

Which statements below will redirect standard output and standard error to file ~/services.txt (choose 2)?

cat /etc/services > ~/services.txt 2>&1 cat /etc/services &>~/services.txt

Which command will combine two commands on a single line?

command1;command2

Which statement would set variable A_FILE to /usr/local/bin/a_file each time the user logged into the computer?

echo "A_FILE=/usr/local/bin/a_file" >> ~/.bashrc

Which commands shown in this chapter are used to display text file output (choose 3)?

head tail cat

Refer to the following transcript. What does the load average: numbers 1.80, 0.53, 0.18 mean?

load average over the last 1, 5, and 15 minutes.

Refer to the following table of users and group memberships, and a transcript of files with permissions. Which users can modify the file census? [elvis ~]$ ls -ltotal 0-rw-r--r--. 1 alice alice 0 Jan 9 08:18 adventures-rw-rw----. 1 pataki governor 0 Jan 9 08:18 budget-rw-r--r--. 1 nero emperors 0 Jan 9 08:18 census-rw-rw-rw-. 1 elvis elvis 0 Jan 9 08:18 pacman.highscores-rw-r-----. 1 einstein physics 0 Jan 9 08:19 theory[elvis ~]$

nero

Which statements will disable the cups print service (choose 3)?

systemctl stop cups.socket systemctl stop cups.service systemctl stop cups.path

What will be the result of the following command? su -

Start a login shell as root

Which statement about IPv6 networking is most correct?

2019:ef3:f::1 is a vaild IPv6 address.

Which statement about network configuration settings are most correct (choose 3)?

A normal user logged in to the local console may make some network configuration changes. The nmcli directive ipv4.method auto will require DHCP4 network configuration. User root may configure any network settings.

Which statements about IPv4 Networking are most correct (choose3)?

IP address 192.168.47.0/24 is a 24 bit mask network address with 254 usable hosts. The IPv4 address 127.0.0.1 is a special address for the logical loopback interface. IP address 172.17.0.255/24 is a 24 bit mask broadcast address.

Which statements about IPv4 and IPv6 networking are most correct (choose 3)?

IPv4 and IPv6 network addressing may be configured in a dual-stack mode. IPv4 network settings may be automatically configured at boot time from a DHCP server. Static network configuration is enabled when network settings obtained from one or more local configuration files.

Refer to the following transcript. Which statements are the most correct (choose 3)? [root@servera ~]# ss -tuna[root@servera ~]# ss -tunaNetid State Recv-Q Send-Q Local Address:Port Peer Address:Portudp UNCONN 0 0 0.0.0.0:111 0.0.0.0:*udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:*udp UNCONN 0 0 [::]:111 [::]:*udp UNCONN 0 0 [::1]:323 [::]:*tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:*tcp LISTEN 0 100 127.0.0.1:25 0.0.0.0:*tcp LISTEN 0 128 0.0.0.0:111 0.0.0.0:*tcp TIME-WAIT 0 0 172.25.250.10:44890 172.25.254.254:80tcp ESTAB 0 0 172.25.250.10:22 172.25.250.9:55380tcp TIME-WAIT 0 0 172.25.250.10:44888 172.25.254.254:80tcp LISTEN 0 128 [::]:22 [::]:*tcp LISTEN 0 100 [::1]:25 [::]:*tcp LISTEN 0 128 [::]:111 [::]:*tcp LISTEN 0 128 *:80 *:*[root@servera ~]#[root@servera ~]#

The Telnet service is not started. The mail service is listening on the localhost interface. The SSH service is listening on all interfaces.

Refer to the following command transcript: tail -3 \/etc/services \/etc/sysconfig/network-scripts/ifcfg-eth0 What is the purpose of the backslash character?

The \ character continues a long command on another line

Which statements about the chronyd services are most correct (choose 3)?

The chronyd configuration file is /etc/chrony.conf By default, the chronyd service uses NTP Pool Project time services for time synchronization and requires no additional configuration. A most accurate time source is stratum 0.

What is the result of the following command? echo $(date)

The current date will be displayed.

Which statements about the Gnome Desktop are the most correct (choose 3)?

The default GNOME 3 framework is Wayland. To open a terminal window, click the Activities button and select Terminal from favorites. The activities button is used to start applications and organize windows.

Which statements about host name and name resolution are most correct (choose 3)?

The file /etc/resolv.conf may be overwritten by NetworkManager updates. The file /etc/hostname makes the host name persistent across reboots. By default, name resolution is first checked in file /etc/hosts, then a DNS request is sent to a DNS server specified in /etc/resolv.conf.

Refer to the following transcript. Which answer was the command that created the output?

The file command.

Refer to the following transcript. Which statement about network configuration is most correct? [root@classroom ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens3# Created by cloud-init on instance boot automatically, do not edit.#BOOTPROTO=noneDEVICE=ens3DNS1=172.25.254.254DOMAIN=example.comIPADDR=172.25.254.254NETMASK=255.255.255.0ONBOOT=yesTYPE=EthernetUSERCTL=noPROXY_METHOD=noneBROWSER_ONLY=noPREFIX=24DEFROUTE=yesIPV4_FAILURE_FATAL=noIPV6INIT=noNAME="System ens3"UUID=21d47e65-8523-1a06-af22-6f121086f085PEERDNS=noIPADDR1=172.25.252.254PREFIX1=24NETMASK1=255.255.255.0IPADDR2=172.25.253.254PREFIX2=24NETMASK2=255.255.255.0ZONE=trusted[root@classroom ~]#

To make this an IPv4 dynamic network configuration, set the directive to BOOTPROTO=dhcp

Which commands related to troubleshooting Linux networking are most correct (choose 2)?

ping -c3 classroom.example.com will test connectivity between the local host and classroom host. ip route will display the routing table on a host.

Refer to the following command structure Match the correct part on the left to the description on the right. ssh -o StrictHostKeyChecking=no remoteuser@remotehost

-o StrictHostKeyChecking=no option ssh command remoteuser@remotehost argument

Match the directory location on the left with the correct description on the right.

/ root of the filesystem /home user home directories /root user root home directory /etc configuration files for this host /var contains dynamic data.... /usr/bin contains user commands... /usr/sbin contains admin commands... /tmp contains temporary files

Refer to the following SSH connection transcript. Which statements are most correct (choose 2)?

1. This is an example of the Trust on First Use security model. 2. The ECDSA key fingerprint is from the remote host computer.

Which is the most correct way to exit the vim editor without saving one's work?

:q!

Which answers best describe the advantage of info documentation (choose 3)?

A completely browsable document index more practical examples A full text search of the entire document

Which statements about hard links are correct (choose 3)?

A hard link can only be made between files on the same filesystem The hard link syntax is ln source-file destination-file When the original hard link file is deleted, the contents of the new file are still present.

Which statements are true about the SSH private key (choose 2)?

An SSH private key may be created with no passphrase. If the SSH private key is created with an accompanying passphrase, the user must supply the passphrase when the private key is accessed for authentication.

Which answer will most correctly preserve the system journal?

Edit /etc/systemd/journald.conf and set the Storage parameter to persistent. Then, restart the service with the command systemctl restart systemd-journald.

Which statements related to the rsyslog service are most correct (choose 3)?

In /etc/rsyslog.conf, the rule mail.none logs no mail log entries. In /etc/rsyslog.conf, the rule authpriv.* logs all priority messages. A log event of critical would also log alert and emergency priorities.

Which statements about rsyslog files is most correct (choose 2)?

Log statements in /etc/rsyslog.d/newlog.conf are automatically added to rsyslog configuration when the service is restarted. *.notice /var/log/messages is a valid rsyslog configuration statement.

Refer to the following transcript. What will be the result of the command chmod 640 theory (choose 2)? [elvis ~]$ ls -ltotal 0-rw-r--r--. 1 alice alice 0 Jan 9 08:18 adventures-rw-rw----. 1 pataki governor 0 Jan 9 08:18 budget-rw-r--r--. 1 nero emperors 0 Jan 9 08:18 census-rw-rw-rw-. 1 elvis elvis 0 Jan 9 08:18 pacman.highscores-rw-r-----. 1 einstein physics 0 Jan 9 08:19 theory[elvis ~]$

Permissions will be set to 640. Permissions will remain unchanged.

Which statements about controlling system services are most correct (choose 3)?

The command systemctl mask iptables will block and administrator from inadvertently starting a service that conflicts with another. The command systemctl reload-or-restart sshd will reload the configuration file changes without restarting the service. If reload is not possible the service will be restarted with a new PID. The command systemctl restart sshd will restart sshd and create a new PID.

Which statements about systemd are most correct (choose 3)?

The first process on a Linux host is systemd. systemd has a PID of 1. The systemd daemon is responsible for managing startup, activating system resources and other processes at both boot time and run time.

Which statements about the following transcripts related to sudo are most correct (choose 3)? # head -10 /etc/sudoers.d/*==> /etc/sudoers.d/operator3 <==operator3 ALL=(ALL) NOPASSWD: ALL ==> /etc/sudoers.d/operators <==%operators ALL=(ALL) ALL

The group operators needs to use a password to access sudo. User operator3 does not need a password to access sudo For operator3, the command sudo tail /var/log/secure will work properly, without an error.

Which statement about system journal entries is most correct?

The journalctl command is used to retrieve log messages from the system journal.

Which statements about the logrotate utility are most correct (choose 3)?

The logrotate utility rotates log files stored in /var/log. Typically, log files after 4 weeks are discarded. An example of a rotated log file is /var/log/messages-20191222

Which statements about the following transcript are most correct (choose 3) # grep student /etc/shadowstudent:$6$8oIjLCsc$/n1iQXYh1E6.uOEuJKgioqAtmqm2TQmkJGF2RwyteIr1tIfrPdiRYgWe6Sjen5/eMij2uHM/a1tue/QRlo3X80:18038:0:99999:7:::

The second field of the encrypted password field is the salt. The password field is separated by '$'. The hash algorithm used to produce the encrypted password is sha512.

Which statement is most correct concerning the transfer of keys to a remote host?

The user's SSH public key is transferred to the user on the remote host.

Refer to the following transcript. Which statements about the output are most correct (choose 2)? $ id uid=1000(student) gid=1000(student) groups=1000(student),10(wheel)

The user's secondary group is wheel The user's primary group name is student

Refer to the following transcript. Which statements about changing file permissions with the symbolic method are most correct (choose 2)? [elvis ~]$ ls -ltotal 0-rw-r--r--. 1 alice alice 0 Jan 9 08:18 adventures-rw-rw----. 1 pataki governor 0 Jan 9 08:18 budget-rw-r--r--. 1 nero emperors 0 Jan 9 08:18 censusdrwxrwxr-x. 2 ventura governor 32 Jan 9 08:52 newdata-rw-rw-rw-. 1 elvis elvis 0 Jan 9 08:18 pacman.highscores-rw-r-----. 1 einstein physics 0 Jan 9 08:19 theory[elvis ~]$

To allow elvi to modify file theory, use the command chmod g+w theory. To prevent einstein from reading the census, use the command chmod o-r census.

Which statements about password aging are most correct (choose 3)?

To require new user password to expire in 90 days, edit file /etc/login.defs and set PASS_MAX_DAYS 90. To view password aging information, use the command chage -l The command chage -d 0 operator1 requires operator 1 to update its password on the next login.

Refer to the following transcript. Which statements are most correct (choose 3)?

To start the httpd service immediately, fix the syntax error and use the command systemctl start httpd. The httpd service did not start because there was a syntax error on line 45 in file /etc/httpd/conf/httpd.conf. To make the httpd service persistent across reboots use the command systemctl enable httpd.

In RHEL8, all members of group wheel have full sudo privileges.

True

The command systemctl --failed --type=service will list all failed services.

True

Refer to the following transcript to answer this question. Choose the 2 most correct answers. [student@serverb ~]$ jobs[1] Running sleep 10000 &[2] Running sleep 20000 &[3]- Running sleep 50000 &[4]+ Running sleep 100000 &[student@serverb ~]$

When a forground process is sent to the background, it is automatically suspended. To bring 'sleep 50000' to the foreground, issue the command %3.

Refer to the following table of users and group memberships, and a transcript of files with permissions.Which users can modify file packman.highscores? [elvis ~]$ ls -ltotal 0-rw-r--r--. 1 alice alice 0 Jan 9 08:18 adventures-rw-rw----. 1 pataki governor 0 Jan 9 08:18 budget-rw-r--r--. 1 nero emperors 0 Jan 9 08:18 census-rw-rw-rw-. 1 elvis elvis 0 Jan 9 08:18 pacman.highscores-rw-r-----. 1 einstein physics 0 Jan 9 08:19 theory

all answers correct

What is the command to output the last 20 lines of file /var/log/secure to both the terminal and file ~/secure.txt?

cat /var/log/secure | tail -20 |tee ~/secure.txt

Refer to the following directory transcript: What is the command to switch to the directory /home/student/Documents/Thesis-Chapter2?

cd ../Thesis-Chapter2

Refer to the following transcript. Which cd command will move to the user home directory (choose 3)?

cd ~/ cd cd ~

Refer to the following transcript. Which commands are used to configure directory collaboration to allow only users who own the files to delete the files, and set collaboration members of group music? All other users have no permissions. Choose the best 2. [root@workstation ]# ls -ld collaborationdrwxr-xr-x. 2 root root 6 Jan 9 09:46 collaboration[root@workstation ]#

chown :music collaboration chmod 3770 collaboration

Refer to the following transcript. According to the curriculum, which is the acceptable statement to change the user owner to alice and group owner to emperors for file theory? [elvis@workstation ~]$ ls -ltotal 0-rw-r--r--. 1 alice alice 0 Jan 9 08:18 adventures-rw-rw----. 1 pataki governor 0 Jan 9 08:18 budget-rw-r--r--. 1 nero emperors 0 Jan 9 08:18 census-rw-rw-rw-. 1 elvis elvis 0 Jan 9 08:18 pacman.highscores-rw-r-----. 1 einstein physics 0 Jan 9 08:19 theory[elvis@workstation ~]$

chown alice:emperors theory

Refer to the following table of users and group memberships, and a transcript of files with permissions. Which users can modify file theory? [elvis ~]$ ls -ltotal 0-rw-r--r--. 1 alice alice 0 Jan 9 08:18 adventures-rw-rw----. 1 pataki governor 0 Jan 9 08:18 budget-rw-r--r--. 1 nero emperors 0 Jan 9 08:18 census-rw-rw-rw-. 1 elvis elvis 0 Jan 9 08:18 pacman.highscores-rw-r-----. 1 einstein physics 0 Jan 9 08:19 theory[elvis ~]$

einstein

You are interested in the format of the local user database file /etc/passwd. How would that section be viewed?

man -5 passwd

This is the first time that you must create a new SSH key pair. Which man page would you consult to perform this task? Use man -k ssh to find information about the keyword ssh.

man 1 ssh-keygen

Match the command option on the left with the correct description on the right.

mkdir creates a directory rmdir removes a directory that is... rm -rf removes without prompt... mkdir -p creates a directory and parent...

Does this service start (or try to start) on reboot? [student@servera conf]$ sudo systemctl status -l httpdâ httpd.service - The Apache HTTP ServerLoaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)Active: failed (Result: exit-code) since Thu 2019-12-19 17:09:39 EST; 2min 54s agoDocs: man:httpd.service(8)Process: 16253 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)Main PID: 16253 (code=exited, status=1/FAILURE)Status: "Reading configuration..."Dec 19 17:09:39 servera.lab.example.com systemd[1]: Starting The Apache HTTP Server...Dec 19 17:09:39 servera.lab.example.com httpd[16253]: AH00526: Syntax error on line 45 of /etc/httpd/conf/httpd.conf:Dec 19 17:09:39 servera.lab.example.com httpd[16253]: Invalid command 'Lsten', perhaps misspelled or defined by a module not included in the serve>Dec 19 17:09:39 servera.lab.example.com systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILUREDec 19 17:09:39 servera.lab.example.com systemd[1]: httpd.service: Failed with result 'exit-code'.Dec 19 17:09:39 servera.lab.example.com systemd[1]: Failed to start The Apache HTTP Server.[student@servera conf]$

no

You want to scroll down the man pages one page at a time. Which key would you use?

spacebar

Which program will temporarily cache the SSH private key passphrase in memory, so it does not need to be typed each time the private key is used?

ssh-agent

What is the command used to specify a non-default public-private key pair?

ssh-keygen -f new-location

Which commands will display the status of the SSHD service (choose 2)?

systemctl status sshd.service systemctl status sshd

Which statements about syslog entries are most correct (choose 2)?

tail -f /var/log/messages will display each file log entry as it is received. The command logger "Test log entry" would be sent by default to /var/log/messages.


संबंधित स्टडी सेट्स

HEY - Unit 1 - p. 18-29 (partial)

View Set

CH 31: Assessment of Immune Function

View Set

Manipulation of Life and Transhumanism- ETHC 210

View Set

AP HUG Final: Practice Test Questions

View Set