# 재부팅 없이 임시로 호스트네임 변경

<table border="1" id="bkmrk-perplexity%EC%97%90%EC%84%9C-%EC%83%9D%EC%84%B1%ED%95%9C-ai%EC%9D%B4" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr><td>[![image.png](http://igoni.kr/uploads/images/gallery/2026-02/scaled-1680-/xKwimage.png)](http://igoni.kr/uploads/images/gallery/2026-02/xKwimage.png)

</td></tr><tr><td class="align-right">perplexity에서 생성한 AI이미지</td></tr></tbody></table>

1. /etc/hostname에 호스트네임 적용 (재부팅 후 적용) ```shell
    $ vi /etc/hostname
    13.test.kr
    ```
2. cli로 호스트네임 변경 (재부팅 없이 적용 가능, 재부팅시 초기화) ```shell
    $ cat "13.test.kr" >  /proc/sys/kernel/hostname
    ```
3. 호스트네임 명령어로 변경 ```shell
    $ hostname l4.test.co.kr
    ```