From ef39f37979ce3280f943a9bce402121f5c5255db Mon Sep 17 00:00:00 2001 From: Marcel Bischoff Date: Mon, 7 Mar 2016 14:47:23 +0100 Subject: [PATCH] Add timezone command, change Date->Time --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ece0d76..591bac5 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ For more terminal shell goodness, please also see this list's sister list [Aweso - [AppleScript](#applescript) - [Basics](#basics) - [Clipboard](#clipboard) + - [Date and Time](#date-and-time) - [FileVault](#filevault) - [Information/Reports](#informationreports) - [Kernel Extensions](#kernel-extensions) @@ -93,7 +94,6 @@ For more terminal shell goodness, please also see this list's sister list [Aweso - [Software Update](#software-update) - [Spotlight](#spotlight) - [System Integrity Protection](#system-integrity-protection) - - [Time and Date](#time-and-date) - [Terminal](#terminal) - [Alternative Terminals](#alternative-terminals) - [Shells](#shells) @@ -1460,8 +1460,19 @@ Reboot while holding Cmd + R, open the Terminal applicatio csrutil enable && reboot ``` -### Time and Date +### Date and Time +#### List Available Timezones +```bash +sudo systemsetup -listtimezones +``` + +#### Set Timezone +```bash +sudo systemsetup -settimezone Europe/Berlin +``` + +#### Set Clock Using Network Time ```bash # Status sudo systemsetup getusingnetworktime @@ -1473,6 +1484,8 @@ sudo systemsetup setusingnetworktime on sudo systemsetup setusingnetworktime off ``` + + ## Terminal #### Ring Terminal Bell