Query journald with time range linux
Logs for nginx between two timestamps
journalctl --since '2024-01-15 10:00' --until '2024-01-15 10:30' -u nginx
more linux
all 133 commands →
Export journald to JSON
journalctl -u <service> -o json | jq '{ts: .REALTIME_TIMESTAMP, msg: .MESSAGE}'
Show NTP sync status
timedatectl status && chronyc tracking
Check systemd timers
systemctl list-timers --all --no-pager
Copy SSH public key
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@host
Rsync with progress
rsync -avz --progress --delete src/ user@host:/dest/