Skip to content

Instantly share code, notes, and snippets.

@haeramkeem
Created May 11, 2022 05:51
Show Gist options
  • Save haeramkeem/4094d0451fad61481452c5d0ef9a4317 to your computer and use it in GitHub Desktop.
Save haeramkeem/4094d0451fad61481452c5d0ef9a4317 to your computer and use it in GitHub Desktop.
systemd service log
#!/bin/bash
# Ref: https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs
# Set timezone
# Get available timezone:
# $ timedatectl list-timezones
sudo timedatectl set-timezone Asia/Seoul
# View logs
journalctl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment