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

잔글 (로봇: 자동으로 텍스트 교체 (-[root@jmnote +[root@zetawiki))
잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
13번째 줄: 13번째 줄:


;실행예시
;실행예시
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# reboot
[root@zetawiki ~]# reboot



2016년 3월 29일 (화) 13:31 판

리눅스 재부팅
리눅스 재시작
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 }}