Skip to content

Instantly share code, notes, and snippets.

@vivekascoder
Last active July 1, 2020 18:55
Show Gist options
  • Select an option

  • Save vivekascoder/1b238360154fdbbdfbed4f2476eefc9c to your computer and use it in GitHub Desktop.

Select an option

Save vivekascoder/1b238360154fdbbdfbed4f2476eefc9c to your computer and use it in GitHub Desktop.

How to modify time and timezone in Linux

@Author: vivekascoder

@Date: 2/07/2020

Hey, 😄 let's modify/fix the time

  • Let's see the current settings:

    • root@kali#~ date
    • `Wed 01 Jul 2020 12:22:27 AM IST
  • Let's change the time:

    • root@kali#~ sudo date -s "12:50" AM
    • Wed 01 Jul 2020 12:50:27 AM IST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment