5 lines
130 B
Bash
Executable File
5 lines
130 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
date_time=$(curl -s http://worldtimeapi.org/api/ip | grep -oP '(?<="datetime":")[^"]*')
|
|
date -s "$date_time"
|