Книга: 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

Оглавление книги

Оглавление статьи/книги

Генерация: 1.011. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз