Linux/CentOS
Tips of CentOS 7
간즁
2015. 4. 9. 01:02
⊙
systemctl [option] [데몬명]
[option]
start ; service start [데몬명]
stop ; service stop [데몬명]
reload ;
restart ; service restart [데몬명]
status ; service status [데몬명]
enable ; chkconfig on [데몬명]
disable ; chkconfig off [데몬명]
실행중인 service list 보기
# systemctl -t service
enabled, disabled 된 service, socket, target 보기
# systemctl list-unit-files
일부 SysV services 상태 확인. 6 와 마찬가지로 chkconfig off 가능.
# chkconfig --list
⊙
# ip addr show ; ifconfig
⊙
커널이 업데이트 되면서 ; 의 역할을 + 으로 표시.
# find / -name abc -exec ls -al {} ;
=> # find / -name abc -exec ls -al {} +