289769a601
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 8s
24 lines
515 B
Markdown
24 lines
515 B
Markdown
---
|
|
tags:
|
|
- Bash
|
|
- Time Sync
|
|
- Scripting
|
|
- Linux
|
|
---
|
|
|
|
## Purpose
|
|
The commands outlined in this short document are meant to be a quick-reference for setting the timezone and date/time of a Linux-based server.
|
|
|
|
### Set Timezone
|
|
```sh
|
|
sudo timedatectl set-timezone America/Denver
|
|
```
|
|
|
|
### Set Time and Date
|
|
```sh
|
|
date -s "1 JAN 2025 03:30:00"
|
|
```
|
|
|
|
## Related Documentation
|
|
- [Related Windows and Linux Documentation](<index.md>) — Find the connected deployments, procedures, and references for this subject.
|