Difference between revisions of "CLI - shutdown and reboot"

(새 문서: 시스템 종료하거나 재시작하는 방법은 CLI에서 <code>shutdown</code>, <code>reboot</code> 명령어로 종료하거나 재시작 할 수 있습니다. === Basic Command...)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
시스템 종료하거나 재시작하는 방법은 CLI에서 <code>shutdown</code>, <code>reboot</code> 명령어로 종료하거나 재시작 할 수 있습니다.
+
To shutdown the system, using the <code>shutdown</code> and using the <code>reboot</code> to reboot the system.
−
=== Basic Commands ===
+
=== shutdown ===
 
<pre>
 
<pre>
 
LYSH@MyHostName# shutdown
 
LYSH@MyHostName# shutdown
−
 
+
Are your sure you want to shutdown?(y/n):
−
Are your sure you want to shutdown?(y/n):  
 
 
</pre>
 
</pre>
−
<pre>
 
−
LYSH@MyHostName# reboot
 
  
−
Are your sure you want to reboot?(y/n):
+
=== reboot ===
−
</pre>
 
−
=== After Commands ===
 
−
시스템을 종료하거나 재시작하려면 출력되는 메시지 이후 <code>y</code>을 입력합니다.
 
 
<pre>
 
<pre>
−
LYSH@MyHostName# shutdown
 
−
 
−
Are your sure you want to shutdown?(y/n):
 
−
Bye~!
 
−
 
 
LYSH@MyHostName# reboot
 
LYSH@MyHostName# reboot
−
 
 
Are your sure you want to reboot?(y/n):
 
Are your sure you want to reboot?(y/n):
−
Bye~!
 
−
 
−
</pre>
 
−
취소하려면 <code>n</code>을 입력합니다.
 
−
<pre>
 
−
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#
 
−
</pre>
 
−
<code>y/n</code>이 아닌 다른 값을 입력하면 ''Are your sure you want to shutdown?(y/n):'' 가 반복됩니다.
 
−
<pre>
 
−
LYSH@MyHostName# shutdown
 
−
 
−
Are your sure you want to shutdown?(y/n):
 
−
Are your sure you want to shutdown?(y/n):
 
 
</pre>
 
</pre>

Latest revision as of 17:01, 15 April 2021

To shutdown the system, using the shutdown and using the reboot to reboot the system.

shutdown

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

reboot

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