Contents
The procedure to find the computer name on Linux:
- Open a command-line terminal app (select Applications > Accessories > Terminal), and then type:
- hostname. OR. hostnamectl. OR. cat /proc/sys/kernel/hostname.
- Press [Enter] key.
How do I find my FQDN?
To find the FQDN
- On the Windows Taskbar, click Start > Programs > Administrative Tools > Active Directory Domains and Trusts.
- In the left pane of the Active Directory Domains and Trusts dialog box, look under Active Directory Domains and Trusts. The FQDN for the computer or computers is listed.
How do I find my hostname Ubuntu?
Start a new terminal to see the new hostname. For Ubuntu server without a GUI, run sudo vi /etc/hostname and sudo vi /etc/hosts and edit them one by one. In both files, change the name to what you want and save them. Finally, restart your computer to apply the changes.