How to change hostname in Linux
Terminal Commands Used:
leafpad /etc/hostname
leafpad /etc/hosts
init 6
hostname (archaically nodename[1]) is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication, such as the World Wide Web. Hostnames may be simple names consisting of a single word or phrase, or they may be structured.
Hostnames are human-readable nicknames that correspond to the address of a device connected to a network. They are used by various naming systems, e.g., Network Information Service (NIS), Domain Name System (DNS), Server Message Block (SMB) and the meaning of hostname varies according to the naming system used.

How to change hostname in Linux

Track: Electro-Light – Symbolism [NCS Release]]
Music provided by NoCopyrightSounds.
Watch:
Free Download / Stream:

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/

7 Comments

olamide badmus

May 17, 2020

Thanks bro

Reply

C C P

May 17, 2020

By entering leafpad /etc/hostname I get an error: -bash: leafpad: command not found

Reply

Abdelmajid Eloualy

May 17, 2020

Thank you

Reply

Lord Eve

May 17, 2020

Thanks

Reply

Want To Learn

May 17, 2020

Thank You

Reply

Sabna Stha

May 17, 2020

Thank you

Reply

P r a k A s h

May 17, 2020

Thank you

Reply

Leave a Reply