systemctl 經常使用操做

以samba爲列rest

 

systemctl start smb       #啓動smb服務top

systemctl restart smb   #重啓smb服務di

systemctl stop smb       #中止smb服務ab

systemctl status smb    #查看smb服務狀態tar

systemctl reload smb    #平滑重啓smb

 

systemctl enable smb   #開機自啓smb服務

systemctl disable smb   #開機不啓動smb服務

相關文章
相關標籤/搜索