Documentation Restructure
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
This commit is contained in:
19
scripts/bash/time-adjustment.md
Normal file
19
scripts/bash/time-adjustment.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
tags:
|
||||
- Bash
|
||||
- Time Sync
|
||||
- Scripting
|
||||
- Linux
|
||||
---
|
||||
|
||||
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 & Date
|
||||
```sh
|
||||
date -s "1 JAN 2025 03:30:00"
|
||||
```
|
||||
Reference in New Issue
Block a user