"/etc/init.d"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
4번째 줄: 4번째 줄:
*서비스 데몬 제어 파일을 두는 폴더
*서비스 데몬 제어 파일을 두는 폴더


<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# ll /etc | grep init.d
[root@zetawiki ~]# ll /etc | grep init.d
lrwxrwxrwx.  1 root root    11 Oct 29  2012 init.d -> rc.d/init.d
lrwxrwxrwx.  1 root root    11 Oct 29  2012 init.d -> rc.d/init.d
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# ll /etc/init.d/
[root@zetawiki ~]# ll /etc/init.d/
total 476
total 476
18번째 줄: 18번째 줄:
-rwxr-xr-x 1 root root  3518 Jul  1  2011 ypbind
-rwxr-xr-x 1 root root  3518 Jul  1  2011 ypbind
-rwxr-xr-x 1 root root  1498 May 25  2008 yum-updatesd
-rwxr-xr-x 1 root root  1498 May 25  2008 yum-updatesd
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# service sshd status
[root@zetawiki ~]# service sshd status
openssh-daemon (pid  21889) is running...
openssh-daemon (pid  21889) is running...
[root@zetawiki ~]# /etc/init.d/sshd status
[root@zetawiki ~]# /etc/init.d/sshd status
openssh-daemon (pid  21889) is running...
openssh-daemon (pid  21889) is running...
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 02:40 기준 최신판

1 개요[ | ]

/etc/init.d
/etc/rc.d/init.d
  • 서비스 데몬 제어 파일을 두는 폴더
[root@zetawiki ~]# ll /etc | grep init.d
lrwxrwxrwx.  1 root root     11 Oct 29  2012 init.d -> rc.d/init.d
[root@zetawiki ~]# ll /etc/init.d/
total 476
-rwxr-xr-x 1 root root  1566 Feb 23  2012 acpid
-rwxr-xr-x 1 root root  1441 Mar 28  2007 anacron
-rwxr-xr-x 1 root root  1284 Jan 27  2010 atd
... (생략)
-rwxr-xr-x 1 root root  3902 Apr 21  2011 xfs
-rwxr-xr-x 1 root root  3518 Jul  1  2011 ypbind
-rwxr-xr-x 1 root root  1498 May 25  2008 yum-updatesd
[root@zetawiki ~]# service sshd status
openssh-daemon (pid  21889) is running...
[root@zetawiki ~]# /etc/init.d/sshd status
openssh-daemon (pid  21889) is running...

2 같이 보기[ | ]

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