On 07/02/15 11:11, Alex wrote: > Hi all, > > I've used journalctl to do some really basic things, but I'm trying to > use it to view the former /var/log/maillog, and haven't been able to > figure out how. > > I understand I can use it to search for a specific priority, but > haven't figure out how to show only today's mail.* facility logs, > using the short form hostname. I also understand you can view logs for > a specific process or pid, but that's also not what I want. > > Ideas greatly appreciated. A FAQ or general usage doc would really be > appreciated (beyond just the man page). It just seems like a lot more > typing than just "tail -f /var/log/maillog" when that's all I need. > Assuming you're running sendmail, it sounds as if you may want.... journalctl -b 0 -u sendmail or journalctl -b 0 -r -u sendmail And, there is the -f option, which is the same as tail's. -- Sorta what I want to say when folks habitually complain about Fedora - https://youtu.be/ZArl8fTfub4 -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org