Skip to content

Instantly share code, notes, and snippets.

@cerealskill
Created May 10, 2019 19:02
Show Gist options
  • Save cerealskill/f296fe77e50378a7a906244653d69f3a to your computer and use it in GitHub Desktop.
Save cerealskill/f296fe77e50378a7a906244653d69f3a to your computer and use it in GitHub Desktop.
Change Time Zone - CentOS 7
#!/bin/bash
echo "(1/4) ------------- Actual - Time Zone ------------";
date
echo "(2/4) ------------- Lista Disponible - Time Zone ------------";
sudo cd /usr/share/zoneinfo/
sudo ls -all
echo "(3/4) ------------- Encontrar - Time Zone ------------";
sudo tzselect
echo "(4/4) ------------- Cambiar - Time Zone ------------";
sudo timedatectl set-timezone America/Santiago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment