🧀 Learn Linux

進階 · 管理服務

hostnamectl:查詢或設定主機名

語法

hostnamectl [set-hostname 名稱]

範例

hostnamectl

使用說明與支援範圍

僅供手冊查閱

完整文檔 ↗

同主題指令