Which of the following commands add the message Howdy to the system log?

On a system using systemd-journald, which of the following commands add the message Howdy to the system log? (Choose two.)
A. append Howdy
B. logger Howdy
C. systemd-cat echo Howdy
D. echo Howdy > /dev/journal
E. journalctl add Howdy

Download Printable PDF. VALID exam to help you PASS.

8 thoughts on “Which of the following commands add the message Howdy to the system log?

  1. definitely B and C
    test yourself the two commands on a RH/CentOS and see the difference by entering:
    journalctl -e

    1. No, systemd-cat can be piped to or accepts commands to be executed:

      echo test | systemd-cat
      systemd-cat echo test

      ls | systemd-cat
      systemd-cat ls

  2. Yes you are right B and C dude.
    the commandos journalctl add and append dont exist.
    D is nonsense because /dev ist the devicefile.

    6
    1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.