目录

journalctl

查看日志

Bash
  1. journalctl -u initer -f

导出日志

Bash
  1. journalctl -u initer > log.txt

清空日志

Bash
  1. journalctl -u initer --vacuum-time=1m