How to Check Hostname of Your Linux Server..? | Secure 2 Cyber

Publié le: 29 octobre 2025
sur la chaîne: Secure2Cyber
6
like

In this video, you’ll learn how to check the hostname of your Linux system or server using a simple command.
The hostname is the name assigned to your computer on a network — used to identify your device across systems, servers, and networks.

🖥️ Command Used:

hostname


💡 Examples:

hostname


➡️ Displays the system’s current hostname.

To check detailed information like domain and FQDN (Fully Qualified Domain Name):

hostname -f


To view all hostname-related configurations:

hostnamectl


📘 Explanation:

hostname → Prints the system name.

hostnamectl → Shows OS info, kernel version, and hostname details.

You can also change the hostname using:

sudo hostnamectl set-hostname newname


📺 Channel: Secure2Cyber
Daily short videos on Linux Commands, Windows Tips, and Cybersecurity Awareness.
Subscribe to @Secure2Cyber and grow your Linux and Cybersecurity skills!

📲 Follow Secure2Cyber:
🔹 Instagram: @secure2cyber

🔹 Facebook: @secure2cyber

🏷️ Hashtags:

#linux #hostname #linuxcommands #secure2cyber #linuxbasics #ubuntu #servermanagement #learnlinux #cybersecurity #techshorts #systemadmin


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Check Hostname of Your Linux Server..? | Secure 2 Cyber durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Secure2Cyber 29 octobre 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6 fois et il a aimé like téléspectateurs. Bon visionnage!