Simple Command for Red-Hat Linux Server And Cisco Router to Time change,
Time Change Command for Red-Hat Linux Server :
[root@mail_Server ~]# date
Sat Jun 20 10:48:17 BDT 2009
[root@mail _server~]#
[date command applied to view present time]
To change time u should apply followings command:
[root@mail_Server ~]# date -s "10:04:00" {date -s (Switch) 10=HH 04=min 00=sec}
Sat Jun 20 10:04:00 BDT 2009
[root@mail_Server ~]# date
Sat Jun 20 10:04:04 BDT 2009
Done !
To change time in Cisco router:
Core_Router01#sh clock
10:57:55.255 UTC Sat Jun 20 2009
[sh clock command applied to view present time]
To change time u should apply followings command:
Core_Router01# clock set 10:50:00 June 20 2009
Done!
It's a good practice to go grab a snack
Time Change Command for Red-Hat Linux Server :
[root@mail_Server ~]# date
Sat Jun 20 10:48:17 BDT 2009
[root@mail _server~]#
[date command applied to view present time]
To change time u should apply followings command:
[root@mail_Server ~]# date -s "10:04:00" {date -s (Switch) 10=HH 04=min 00=sec}
Sat Jun 20 10:04:00 BDT 2009
[root@mail_Server ~]# date
Sat Jun 20 10:04:04 BDT 2009
Done !
To change time in Cisco router:
Core_Router01#sh clock
10:57:55.255 UTC Sat Jun 20 2009
[sh clock command applied to view present time]
To change time u should apply followings command:
Core_Router01# clock set 10:50:00 June 20 2009
Done!
It's a good practice to go grab a snack
0 comments:
Post a Comment