Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
デバイスのホスト名をシェル スクリプトの変数にバインドする方法を探しています。ただし、$HOSTNAME から出力される FQDN は使用したくありません。$HOSTNAME 出力で文字列操作を実行するこの別の名前を実行するために使用できる別の簡単な方法はありますか?
ありがとう