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
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
B and C
with Debian B and C are correct.
definitely B and C
test yourself the two commands on a RH/CentOS and see the difference by entering:
journalctl -e
the C must be systemd-cat | echo howdy
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
Yes you are right B and C dude.
the commandos journalctl add and append dont exist.
D is nonsense because /dev ist the devicefile.
The right answers are B and C
Choose 2. which is the second one??