How to use the hostname command (Linux Crash Course Series)

preview_player
Показать описание
The Linux Crash Course series on Learn Linux TV will teach you a valuable Linux skill in each episode, and each of them can be watched in any order. Just simply watch the episodes that cover something you want to learn! In this episode, Jay covers the hostname command.

*LEARN LINUX TV - YOUR HOME FOR LINUX-RELATED FUN AND LEARNING!*

*🎓 BRAND NEW UDEMY COURSES AVAILABLE!*
Check out my new courses on Udemy and learn something new!

*🐧 SUPPORT LINUX LEARNING!*
_Note: Royalties and/or commission is earned from each of the above links_

*📘 FAQ*

*⏰ TIME CODES*
00:00 - Intro
01:40 - hostname command
03:00 - Where is the hostname stored?
04:06 - hostname command options
08:23 - The hostnamectl Command

*🌐 LEARN LINUX TV ON THE WEB*

*⚠️ DISCLAIMER*
Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.

#CloudComputing #DevOps #Linux
Рекомендации по теме
Комментарии
Автор

I noticed you blurred out the IP address with the -I option before the merch ad, but left it visible after the ad.

traviswilliams
Автор

At 8:22 you forgot to shadow your IP addresses (IPv4 & IPv6). Thank you for the quality of videos. BR.

antoinejousselin
Автор

like for hostnamectl - haven't known of it. Nice.

samoylov
Автор

This is why i am moving to Void Linux. Systemd is not complete and still need people to know how to adjust Hostname properly.

nymnicholas
Автор

I see you put the FQDN in /etc/hostname on your main server, not just the hostname but my hostname (1) says the following:

"The recommended method of setting the FQDN is to make the hostname be an alias for the fully qualified name using /etc/hosts, DNS, or NIS."

and

"Historically [/etc/hostname] was supposed to only contain the hostname and not the full canonical FQDN. Nowadays most software is able to cope with a full FQDN here."

Are there any downsides to either approach which we should be aware of?

Thanks for all your excellent videos!

Economicsst
Автор

I’m looking for online quality courses in Linux.

MR-vjdn
Автор

Can you do a video on manually partitioning a disk with LVM during the Debian install? I included the only video I was able to find on YouTube. It is 10 years old and goes way way too fast. I was able to get it done but it was a struggle to follow even at 0.25 speed

Installing on a laptop with a small drive but still wanted to keep /, /home, /usr, and /var on separate partitions while having the ability to resize if it became necessary. The automatic partition settings in Debian didn't work for me. I know everyone says to just do one partition on small drives but I have found that gets you into more trouble when something fills up and you have no place to go.

KORJ
visit shbcf.ru