Created
May 11, 2022 05:51
-
-
Save haeramkeem/4094d0451fad61481452c5d0ef9a4317 to your computer and use it in GitHub Desktop.
systemd service log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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