Difference between revisions of "Linux How To"

From DevOps Notebook
Line 16: Line 16:
 
[[Run command or script on linux startup]] <br>
 
[[Run command or script on linux startup]] <br>
 
[[How to Send a Message to Logged Users in Linux Terminal]] <br>
 
[[How to Send a Message to Logged Users in Linux Terminal]] <br>
 +
==== Clean journalctl logs from /var/www/journal ====
 +
<pre>
 +
# journalctl --vacuum-time=2d
 +
# journalctl --vacuum-size=500M
 +
</pre>

Revision as of 13:21, 28 November 2020