View/Modify Linux Time Zone and Time
I. Time Zone
1. View current time zone
date -R
2. Modify the setup time zone
Method (1)
tzselect
Method (2) RedHat Linux and CentOS only
timeconfig
Method (3) Applies to Debian
dpkg-reconfigure tzdata
3. Copy the corresponding time zone file, replace the system time zone file; or create a link file
Cp /usr/share/zoneinfo/$main time zone/$time zone/etc/localtime
Available in China:
cp /usr/share/zoneinfo/Asia/Shanghai /etc/Localtime
Second, time
1. View time and date
date
2. Set time and date
Command set to June 10, 1996
date -s 06/22/96
Set the system time to 1:5:00 PM =
date -s 13:52:00
3. Will be The previous time and date are written to the BIOS to avoid failure after restart.
hwclock -w
Third, timing synchronization time
* * * * * /usr/sbin/ntpdate 210.72 .145.44 > /dev/null 2>&1
Just as Hong Kong is still engaged in tug-of-war on the issue of electronic textbooks for bookseller
diskless boot everyone should have heard of it, and now many Internet cafes and enterprises have use
Why should there be process priority? This does not seem to require too much explanation. After all,
For beginners, the learning of Linux commands is not so simple. Many beginners rarely use commands o
24 enhanced linux security tips
Introduction to three commonly used network security tools under Linux system
Configuring JAVA environment variables under SUSE Linux system BASH
How to expand the redhat5.5 root partition under VMWare to
Several ways to export the Hash list of the domain controller on the intranet
PXE+TFTP+DHCP network automatically boots and installs Linux
Modify Linux MAC address in VMware virtual machine
Linux input subsystem analysis
Disk partitioning under Linux, file system formatting and raid device
Win7 game can not be full screen solution three cases [group map]
Microsoft win10 Enterprise Edition activation method win10 Enterprise Edition how to activate
How to solve the problem that the win7 system CD-ROM can not be used
Share the best way to restrict access to your computer's disk using Windows XP Group Policy
Vista activation prompts to clear the method
How to do Win10 computer screen into a red screen
How to solve the Win10 program without trust? What to do if the run or installer is not trusted?