Check/Update Time, Date & Timezone using Linux Terminal | date, timedatectl, hwclock commands
Open Radicle
This video explains how to check and set time, date & timezone in Linux. Set the date and system clock in your Linux console using the terminal.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
To see the computers date and time, we can type "date". We can also see the date in universal time with "date -u" We also see future and past dates and times.
The date and time can be formatted many different ways, looking at the man page a few examples are chosen to show different ways to the date and time can be formatted. We can also add custom text in with the custom date formatting. A customized formatted date would be: date +"Today is %A %Y/%m%d"
We can see the time in a different timezone by adding the timezone before the date with TZ equals and then the date command: TZ="America/Los_Angeles" date %T
00:00 - Introduction
date
hwclock -r
hwclock --show --verbose
hwclock --show --utc
date --set="2 OCT 2006 18:00:00"
date +%Y%m%d -s "20081128"
date +%T -s "10:13:13"
date +%T%p -s "6:10:30AM"
hwclock --systohc
hwclock -w
00:40 - systemd based Linux system
timedatectl
timedatectl set-time YYYY-MM--DD
timedatectl set-time YYYY-MM-DD HH:MM:SS
timedatectl set-time HH:MM:SS
timedatectl list-timezones
timedatectl set-ntp yes
If you're interested in learning about EVERYTHING you need to know about security, privacy, and anonymity then this channel is definately for you!!
📃Watch related playlists and videos ✅ https://youtube.com/playlist?list=PLi3yjaIfQoXgpnjVu0lKZIYFJa4dmG0LO
Enjoy the video? Click here! https://www.youtube.com/channel/UC66Fwhi8CJsnGlucAOCYMDA Don't forget to rate either! Also feel free to comment how I should improve!
get started in hacking for free:- tryhackme - https://tryhackme.com/ hackthebox - https://academy.hackthebox.com/ pentesterlabs - https://pentesterlab.com/ hacker101 - https://www.hacker101.com/
What is date command ?
How To Set Date In Linux OS
How To Set Time In Linux OS
change date and time through cmd
how to change date in cmd
how to change time and date on Linux
linux commands with examples
step by step time setup in linux
how to setup hardware clock in linux
how to setup time in linux
timedatectl commands in Linux
Set the date and system clock in your Linux console using the terminal
HOW TO SET DATE AND SYSTEM CLOCK IN LINUX TERMINAL
How To Change Date and Time in Kali Linux
How to Check and Set Timezone in Ubuntu
#Linux #Terminal #console
Music Credits: Night by MusicbyAden | https://soundcloud.com/musicbyaden Music promoted by https://www.chosic.com/free-music/all/ Creative Commons CC BY-SA 3.0 https://creativecommons.org/licenses/by-sa/3.0/ ... https://www.youtube.com/watch?v=FTwAN-14xQc
6812870 Bytes