Difference between revisions of "Linux How To"

From DevOps Notebook
 
Line 23: Line 23:
 
[[Set date and time manually in linux shell]]<br>
 
[[Set date and time manually in linux shell]]<br>
  
==== Clean journalctl logs from /var/www/journal ====
+
==== Clean journalctl logs from /var/log/journal ====
 
<pre>
 
<pre>
 
# journalctl --vacuum-time=2d
 
# journalctl --vacuum-time=2d
 
# journalctl --vacuum-size=500M
 
# journalctl --vacuum-size=500M
 
</pre>
 
</pre>

Latest revision as of 10:14, 28 July 2022