로그인 회원가입
모두인포
전체IT경제사회생활스포츠시사여행연애

리눅스 init 명령어

lmkfox · 2021-02-21 · 조회 0
리눅스 init 명령어
리눅스의 init 명령어에 대해서 적어 보겠다   #cat /etc/inittab   # inittab is only used by upstart for the default runlevel. # # ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM. # # System initialization is started by /etc/init/rcS.conf # # Individual runlevels are started by /etc/init/rc.conf # # Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf # # Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf, # with configuration in /etc/sysconfig/init. # # For information on how to write upstart event handlers, or how # upstart works, see init(5), init(8), and initctl(8). # # Default runlevel. The runlevels used are: #   0 - halt (Do NOT set initdefault to this) #   1 - Single user mode #   2 - Multiuser, without NFS (The same as 3, if you do not have networking) #   3 - Full multiuser mode #   4 - unused #   5 - X11 #   6 - reboot (Do NOT set initdefault to this) #   이렇게 정의 되어 있는걸 확인 할수 있다.   많이 쓰는 명령어는   # init 0 ------> 전원 off # init 6 ------> 서버 리부팅

댓글

아직 댓글이 없습니다.

로그인 후 댓글을 남길 수 있습니다.