Difference between revisions of "Limit the size of .log files & the journal"

imported>Handy
imported>Handy
Line 25: Line 25:
You can read the text of the log files in a text editor, or using the '''cat''', '''more''', '''less''' & such commands as you would on any other text file. The journal on the other hand requires the '''journalctl''' command to be able to access its contents. The following is a good way to read the journal:
You can read the text of the log files in a text editor, or using the '''cat''', '''more''', '''less''' & such commands as you would on any other text file. The journal on the other hand requires the '''journalctl''' command to be able to access its contents. The following is a good way to read the journal:


  sudo journalctl | more
  sudo journalctl


<br clear="all"/>
<br clear="all"/>
Anonymous user