Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 456 Bytes

commands.md

File metadata and controls

25 lines (16 loc) · 456 Bytes

CLI commands

List of commands that are rarely used and are here for quick lookup

Storage clean up

Remove archived journal files until the disk space they use falls below 100M:

journalctl --vacuum-size=100M

Make all journal files contain no data older than 2 weeks.

journalctl --vacuum-time=2weeks

Docker

Remove unnecessary images before

docker rmi $(sudo docker images --filter "dangling=true" -q --no-trunc)