user:thomas gists created by user
user:thomas
title:mygist gists with given title
title:mygist
filename:myfile.txt gists having files with given name
filename:myfile.txt
extension:yml gists having files with given extension
extension:yml
language:go gists having files with given language
language:go
topic:homelab gists with given topic
topic:homelab
Přihlásit se
Naposledy aktivní 10 months ago
這段 Bash 腳本用於更改系統的主機名稱:它先取得目前的主機名稱並從 /etc/hosts 中移除該名稱的條目,接著使用 hostnamectl 指令設定新的主機名稱,最後將新主機名稱加入到 /etc/hosts 文件中,並輸出成功更新的提示訊息。
Embed
Embed this gist to your website.
Klonovat pomocí HTTPS
Klonovat s pomocí Git pomocí základní autentizace HTTP.
Klonovat pomocí SSH
Klonovat s pomocí Git pomocí klíče SSH.
Vytvořeno pomocí Opengist ⋅ Load: 2ms⋅