Как получить имя хоста на Linux
$ hostnamectl
Tanishq Vyas
$ hostnamectl
$ hostname
hostname
uname -n
cat /etc/hostname