Big 11.11 Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

CompTIA Linux+ Exam XK0-005 Question # 142 Topic 15 Discussion

CompTIA Linux+ Exam XK0-005 Question # 142 Topic 15 Discussion

XK0-005 Exam Topic 15 Question 142 Discussion:
Question #: 142
Topic #: 15

The journald entries have filled a Linux machine’s /var volume. Which of the following is the best command for a systems administrator to use to free up the disk space occupied by these entries?


A.

journalctl --rotatejournalctl --vacuum-time=1s


B.

systemctl stop systemd-journaldsystemctl start systemd-journald


C.

rm -rf /var/log/journalsystemctl restart systemd-journald


D.

pkill -HUP systemd-journaldsystemctl restart systemd-journald


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.