Книги автора: Fedora™ Unleashed, 2008 edition
/ Книги автора: Fedora™ Unleashed, 2008 edition
/ honorato bonafe
Книга: Fedora™ Unleashed, 2008 edition
Using the date Command
Using the date
Command
Use the date
command to display or set your Linux system time. This command requires you to use a specific sequence of numbers to represent the desired date and time. To see your Linux system's idea of the current date and time, use the date
command like this:
# date
Wed Jan 10 14:17:01 EDT 2005
To adjust your system's time (say, to January 27, 2006 at 8 a.m.), use a command line with the month, day, hour, minute, and year, as follows:
# date 012606002003
Fri Jan 27 08:00:00 EDT 2003
Оглавление статьи/книги
Похожие страницы
- Using the hwclock Command
- 5.5.1.1 Moving in the calendar
- Remote Command-Line Interface (RCLI)
- 5.2 Using Dired, the Directory Editor
- Creation date
- 4.4.4 The Dispatcher
- About the author
- Chapter 7. The state machine
- Appendix A. Detailed explanations of special commands
- Appendix E. Other resources and links
- Caveats using NAT
- Example NAT machine in theory