CLI - shutdown and reboot

Revision as of 14:16, 16 December 2020 by Kang (talk | contribs) (새 문서: 시스템 종료하거나 재시작하는 방법은 CLI에서 <code>shutdown</code>, <code>reboot</code> 명령어로 종료하거나 재시작 할 수 있습니다. === Basic Command...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

시스템 종료하거나 재시작하는 방법은 CLI에서 shutdown, reboot 명령어로 종료하거나 재시작 할 수 있습니다.

Basic Commands

LYSH@MyHostName# shutdown

Are your sure you want to shutdown?(y/n): 
LYSH@MyHostName# reboot

Are your sure you want to reboot?(y/n): 

After Commands

시스템을 종료하거나 재시작하려면 출력되는 메시지 이후 y을 입력합니다.

LYSH@MyHostName# shutdown 

Are your sure you want to shutdown?(y/n):
Bye~!

LYSH@MyHostName# reboot

Are your sure you want to reboot?(y/n):
Bye~!

취소하려면 n을 입력합니다.

LYSH@MyHostName# shutdown

Are your sure you want to shutdown?(y/n): canceled

LYSH@MyHostName#
LYSH@MyHostName# reboot

Are your sure you want to reboot?(y/n): canceled

LYSH@MyHostName#

y/n이 아닌 다른 값을 입력하면 Are your sure you want to shutdown?(y/n): 가 반복됩니다.

LYSH@MyHostName# shutdown

Are your sure you want to shutdown?(y/n): 
Are your sure you want to shutdown?(y/n):