21 lines
523 B
Markdown
21 lines
523 B
Markdown
|
|
# systemctl cat
|
||
|
|
|
||
|
|
> systemd가 인식하는 유닛 파일의 전체 내용을 출력.
|
||
|
|
> 더 많은 정보: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#cat%20PATTERN%E2%80%A6>.
|
||
|
|
|
||
|
|
- 유닛 파일의 내용과 절대 경로 출력:
|
||
|
|
|
||
|
|
`systemctl cat {{유닛}}`
|
||
|
|
|
||
|
|
- 여러 유닛 파일의 내용 출력:
|
||
|
|
|
||
|
|
`systemctl cat {{유닛1 유닛2 ...}}`
|
||
|
|
|
||
|
|
- 템플릿 유닛 파일의 내용 출력:
|
||
|
|
|
||
|
|
`systemctl cat {{템플릿@}}`
|
||
|
|
|
||
|
|
- 사용자 유닛 파일의 내용 출력:
|
||
|
|
|
||
|
|
`systemctl cat {{유닛}} --user`
|