![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| changing date | manoj.solaris | Linux | 1 | 09-12-2007 01:27 PM |
| Changing Creation Date to a Prespecified Date of a File In Unix | monkfan | UNIX for Dummies Questions & Answers | 4 | 11-28-2006 04:15 AM |
| Changing the date to EST | shiroh_1982 | Shell Programming and Scripting | 2 | 07-17-2006 12:07 AM |
| Changing the format of date | nhatch | UNIX for Dummies Questions & Answers | 4 | 04-11-2006 07:17 AM |
| changing the date | JBX | UNIX for Dummies Questions & Answers | 2 | 09-13-2001 05:23 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Linux sys date changing
Could anyone help me on related commands in linux for viewing the current date of system & any command for changing the date of system.
Tanx --nikk |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
In Linux you can use dateconfig command. Note it vary with your Linux Kernel version, as i noticed they no longer using timetool (Old kernel supported ). Start the dateconfig on your shell and change the date & time.
Also take note: Changing the date and time will change the system clock as well as the hardware clock. Clicking Apply is equivalent to executing the date and hwclock commands with the selected date and time. The Network Time Protocol (NTP) daemon synchronizes the system clock with a remote time server or time source (such as a satellite). dateconfig allows you to configure a NTP daemon to synchronize your system clock with a remote server. To enable this feature, click the Enable Network Time Protocol button. This will enable the Server pulldown menu. You can choose one of the predefined servers or type a server name in the pulldown menu. Your system will not start synchronizing with the NTP server until you click Apply. After you click Apply, the configuration will be saved and the NTP daemon (ntpd) will be started (or restarted if it is already running). If you want this daemon to start automatically at boot time, you need to execute the command /sbin/chkconfig --level 345 ntpd on to enable ntpd for runlevels 3, 4, and 5. For more information on NTP, read the NTP documentation available in the /usr/share/doc/ntp-version-number directory. |
||||
| Google The UNIX and Linux Forums |