Перевод даты Linux в другой часовой пояс

См. страницу справочника tune2fs:

-c max-mount-counts
    Adjust the number of mounts after which the filesystem will be checked
    by e2fsck(8).  If max-mount-counts is 0 or -1, the number of times the
    filesystem is mounted will be disregarded by e2fsck(8) and the kernel.

-i  interval-between-checks[d|m|w]
    Adjust the maximal time between two filesystem checks.  No postfix or d
    result in days, m in months, and w in weeks.  A value of zero will
    disable the time-dependent checking.

Так tune2fs -c 0 -i 0 /dev/sdx1

3
задан 17 April 2013 в 10:24
1 ответ

Вы можете использовать следующую команду, чтобы получить дату в часовом поясе GMT ​​+ 5: 30.

$ TZ='Asia/Kolkata' date

Вы можете выбрать любой часовой пояс из tzselect .

6
ответ дан 3 December 2019 в 05:28

Теги

Похожие вопросы