Mar 18 01:56:20 2daygeek sudo: pam_unix(sudo:session): session opened for user root by (uid=1000) To display recent logs first, run the journalctl command with the '-r' option. The default view of journal logs can be easily read by humans, but if you need more verbose output, run: $ sudo journalctl -o verbose 3.b) Showing logs in reverse orderĪs you noticed, the above output shown logs in chronological order. Hence, you can use the same keys to move around the logs that you use with the ‘less’ command. It uses ‘less’ command in the back-end to show you the logs. When you run journalctl command without switches, it shows the full contents of the journal, with the oldest entries listed first. 3.a) Basic log viewing with journalctl command You can filter the journal logs based on your need with help of various parameters & fields.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |