Set Date

By polfilm,

  Filed under: Bash
  Comments: None

sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"

Comments are closed for this post.