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

Created page with "Вы можете передать вывод journalctl в файл или в инструмент отображения текста, например, "More" или "Less"..."
(Created page with "==Посмотреть всю строку вывода journalctl==")
Tags: Mobile web edit Mobile edit
(Created page with "Вы можете передать вывод journalctl в файл или в инструмент отображения текста, например, "More" или "Less"...")
Tags: Mobile web edit Mobile edit
Line 95: Line 95:
==Посмотреть всю строку вывода journalctl==
==Посмотреть всю строку вывода journalctl==


You can pipe the output of journalctl to a file or to a text display tool like "More" or "Less", as follows:
Вы можете передать вывод journalctl в файл или в инструмент отображения текста, например, "More" или "Less", следующим образом:
    
    
  $ journalctl -b -p err|less
  $ journalctl -b -p err|less
   
   
Doing so, gives you a means of avoiding the truncation of output which some system displays configurations may experience.
Это позволит избежать усечения вывода, которое может наблюдаться в некоторых конфигурациях системных дисплеев.


===Use a ~/.bashrc alias to make this easy===
===Use a ~/.bashrc alias to make this easy===
translator
10,791

edits