Which of the follow...
 
Notifications
Clear all

Which of the following commands would accomplish this task?

1 Posts
1 Users
0 Likes
135 Views
(@mcgruenathaniel)
Posts: 732
Noble Member
Topic starter
 

A development team asks an engineer to guarantee the persistency of journal log files across system reboots .

Which of the following commands would accomplish this task?

  • A . grep -i auto /etc/systemd/journald.conf && systemctl restart systemd-journald.service
    B. cat /etc/systemd/journald.conf | awk '(print $1,$3)'
    C. sed -i 's/auto/persistent/g' /etc/systemd/journald.conf && sed -i 'persistent/s/ˆ#//q' /etc/systemd/journald.conf
    D. journalctl --list-boots && systemctl restart systemd-journald.service

Show Answer Hide Answer

Suggested Answer: A
 
Posted : 06/11/2022 1:15 pm
Topic Tags

Latest CompTIA XK0-005 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: