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

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


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



2015년 2월 6일 (금) 04:20 판

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

1 즉시 재시작

1.1 방법 1: reboot

가장 직관적인 명령어 reboot

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

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

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

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 }}