LINUX.ORG.RU
ФорумTalks

Linux + man - когда это кончится?!


0

0

решил выключить комп по таймауту - пишу:
~$ sudo shutdown -h -t 120
мне в ответ:
Usage: shutdown [-akrhHPfnc] [-t secs] time [warning message]
-a: use /etc/shutdown.allow
-k: don't really shutdown, only warn.
-r: reboot after shutdown.
-h: halt after shutdown.
-P: halt action is to turn off power.
-H: halt action is to just halt.
-f: do a 'fast' reboot (skip fsck).
-F: Force fsck on reboot.
-n: do not go through "init" but go down real fast.
-c: cancel a running shutdown.
-t secs: delay between warning and kill signal.
** the "time" argument is mandatory! (try "now") **
смотрю ман:
-t sec Tell init(8) to wait sec seconds between sending processes the
warning and the kill signal, before changing to another run‐
level.
вроде все правильно запускаю - но нет не так!
ЗЫ.
так почему в мане пропустили ** между -t и secs ???? чтоб пользователт придумал час куда эти секунды писать ?

anonymous

Ответ на: комментарий от ManJak

man говорит:
/sbin/shutdown [-t sec] [-arkhncfFHP] time [warning-message]
...

В общем, он прав

ManJak ★★★★★
()
Ответ на: комментарий от ManJak

Падонки со своими "+2" проникли уже и в шатдаун? :)

e
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.