"리눅스 재시작"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
 
(사용자 2명의 중간 판 12개는 보이지 않습니다)
1번째 줄: 1번째 줄:
*리눅스 재부팅
;리눅스 재부팅
*리눅스 재시작
;리눅스 재시작
;reboot
;shutdown


==즉시 재시작==
==즉시 재시작==
===방법 1===
===방법 1: reboot===
<source lang='bash'>
가장 직관적인 명령어 reboot
;명령어
<syntaxhighlight lang='bash'>
reboot
reboot
</source>
</syntaxhighlight>


===방법 2===
;실행예시
<source lang='bash'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# reboot
 
Broadcast message from root (pts/0) (Fri Jun 29 19:33:13 2012):
 
The system is going down for reboot NOW!
[root@zetawiki ~]#
</syntaxhighlight>
:→ 잠시후 재부팅된다.
 
===방법 2: shutdown===
<syntaxhighlight lang='bash'>
shutdown -r now
shutdown -r now
</source>
</syntaxhighlight>
 
===방법 3: init===
{{참고|런레벨}}
리눅스에서 재부팅은 런레벨을 6으로 만드는 것과 동일하다.
<syntaxhighlight lang='bash'>
init 6
</syntaxhighlight>


==5분 후 재시작==
==5분 후 재시작==
<source lang='bash'>
다음과 같이 shutdown 명령어를 사용하여 재부팅을 예약할 수 있다.
<syntaxhighlight lang='bash'>
shutdown -r +5
shutdown -r +5
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[리눅스 시스템 종료]]
*[[리눅스 시스템 종료]]
*[[리눅스 싱글모드 부팅]]
*[[리눅스 재부팅 예약작업]]
*[[리눅스 재부팅 테스트]]
*[[/sbin/reboot]]


[[분류:리눅스]]
[[분류:리눅스]]

2021년 9월 24일 (금) 23:17 기준 최신판

리눅스 재부팅
리눅스 재시작
reboot
shutdown

1 즉시 재시작[ | ]

1.1 방법 1: reboot[ | ]

가장 직관적인 명령어 reboot

명령어
reboot
실행예시
[root@zetawiki ~]# reboot

Broadcast message from root (pts/0) (Fri Jun 29 19:33:13 2012):

The system is going down for reboot NOW!
[root@zetawiki ~]#
→ 잠시후 재부팅된다.

1.2 방법 2: shutdown[ | ]

shutdown -r now

1.3 방법 3: init[ | ]

리눅스에서 재부팅은 런레벨을 6으로 만드는 것과 동일하다.

init 6

2 5분 후 재시작[ | ]

다음과 같이 shutdown 명령어를 사용하여 재부팅을 예약할 수 있다.

shutdown -r +5

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}