Tuesday, 7 April 2015

How to Correct Date Command in AIX

1. To Check the Current date :
                    # date

2. The update date syntax :
                    # date MMddhhmmyyyy
                    MM  - Two digits numeric month  eg : 07
                    dd     - Two digits numeric date eg: 19
                    hh     - Two digits numeric hours  eg: 03
                    mm   - Two digits numeric minute eg: 00
                    yyyy - 4 digits numeric years eg: 2015
 3 . Example:
                    # date 071903002015
4. Make Permanent :
                    # /sbin/hwclock --systohc

No comments:

Post a Comment