Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation LFCS Exam - Topic 3 Question 102 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 102
Topic #: 3
[All LFCS Questions]

Which of the following commands is used to rotate, compress, and mail system logs?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Bette
3 months ago
Wait, are we sure about that? What about syslogd?
upvoted 0 times
...
Edgar
3 months ago
Agreed, logrotate is the go-to for that.
upvoted 0 times
...
Luisa
3 months ago
It's definitely logrotate!
upvoted 0 times
...
Lavonna
4 months ago
I thought it was rotatelog at first.
upvoted 0 times
...
Dominga
4 months ago
Nope, logrotate is the right answer!
upvoted 0 times
...
Remedios
4 months ago
I feel like "rotatelog" was mentioned in a practice question, but I can't recall if it's the correct one for this context.
upvoted 0 times
...
Carma
4 months ago
I keep mixing up "syslogd --rotate" and "logrotate." I hope I remember the right command during the exam.
upvoted 0 times
...
Gregoria
4 months ago
"logrotate" sounds familiar, especially since we practiced that in class. I think it's the right one.
upvoted 0 times
...
Niesha
5 months ago
I think I remember something about log rotation, but I'm not sure if it's "logrotate" or something else.
upvoted 0 times
...
Gayla
5 months ago
Hmm, this is a tricky one. I'm leaning towards C - syslogd --rotate, since that sounds like it could be used to rotate logs. But the mailing part has me a bit unsure. I'll have to weigh the options carefully before answering.
upvoted 0 times
...
Miesha
5 months ago
I'm a bit confused by this question. I know there are commands for managing logs, but I'm not sure which one specifically handles all those tasks. I'll have to think it through or maybe even guess if I can't figure it out.
upvoted 0 times
...
Nakisha
5 months ago
Okay, I've got this. The answer is clearly D - logrotate. That's the standard Linux tool for automatically rotating, compressing, and even emailing system log files. I'm confident that's the right choice here.
upvoted 0 times
...
Glenn
5 months ago
Hmm, I'm a bit unsure about this one. Rotating and compressing logs sounds like a system administration task, so I'll have to think through the common commands used for that. Mailing the logs is an interesting twist.
upvoted 0 times
...
Gail
5 months ago
This looks like a straightforward Linux command question. I'll carefully read through the options and think about which one best matches the description of rotating, compressing, and mailing system logs.
upvoted 0 times
...
Marvel
7 months ago
I believe C) syslogd --rotate is the correct command for rotating system logs.
upvoted 0 times
...
Malcolm
7 months ago
I'm not sure, but I think A) rotatelog could also be a possibility.
upvoted 0 times
...
Portia
8 months ago
D) logrotate is the way to go. It's like the Swiss Army knife of log management - does everything you need and more.
upvoted 0 times
Hubert
7 months ago
C) syslogd --rotate doesn't seem as comprehensive as logrotate. I think D) logrotate is the way to go.
upvoted 0 times
...
Nickole
7 months ago
D) logrotate is definitely the most versatile choice for managing system logs.
upvoted 0 times
...
Lilli
7 months ago
A) rotatelog sounds like it could be useful too, but I agree that logrotate is the best option.
upvoted 0 times
...
...
Scarlet
8 months ago
D) logrotate, no doubt. I once tried to use B) striplog and ended up with a system that was more stripped than a runway model. Learned my lesson the hard way!
upvoted 0 times
...
Audrie
8 months ago
Hmm, I'm torn between D) logrotate and E) logger. Can't go wrong with either one, but I think logrotate is the more comprehensive solution.
upvoted 0 times
Genevive
7 months ago
Yeah, logrotate is a powerful tool for managing logs efficiently.
upvoted 0 times
...
Felton
7 months ago
I agree, logrotate is definitely the way to go for rotating, compressing, and mailing system logs.
upvoted 0 times
...
...
Huey
8 months ago
I agree with Sommer, logrotate makes sense for rotating system logs.
upvoted 0 times
...
Rosalia
8 months ago
I'd go with D) logrotate. It's the industry standard for log management, and I've used it in all my previous jobs.
upvoted 0 times
Glory
7 months ago
Yeah, logrotate is reliable and easy to use.
upvoted 0 times
...
Royce
8 months ago
I agree, logrotate is definitely the way to go.
upvoted 0 times
...
...
Sommer
8 months ago
I think the answer is D) logrotate.
upvoted 0 times
...
Madelyn
8 months ago
Definitely D) logrotate. That's the command I use to manage my system logs. Works like a charm!
upvoted 0 times
Sylvie
7 months ago
Thanks for the tip! I'll start using logrotate to rotate, compress, and mail my system logs.
upvoted 0 times
...
Candida
7 months ago
I've never used logrotate before, but I'll give it a try now that I know it's recommended.
upvoted 0 times
...
Shayne
8 months ago
I agree, D) logrotate is the best command for managing system logs.
upvoted 0 times
...
...

Save Cancel