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/
Xem thêm Bài Viết:
- Hướng dẫn sử dụng hệ điều hành linux siêu tốc – bài 25 Xem cấu hình hệ thống (cpu, ram, hdd)
- Linux cat command summary with examples
- Cài nhiều hệ điều hành Windows và Linux trên một máy tính
- Hướng dẫn tạo USB Boot DLC2019 (NTFS / UEFI) Trên windows 10 ( sử dụng USB 32 GB )
- Hướng dẫn gỡ bỏ Ubuntu sạch sẽ nhất bằng lệnh trên Windows theo chuẩn UEFI-GPT
olamide badmus
May 17, 2020Thanks bro
C C P
May 17, 2020By entering leafpad /etc/hostname I get an error: -bash: leafpad: command not found
Abdelmajid Eloualy
May 17, 2020Thank you
Lord Eve
May 17, 2020Thanks
Want To Learn
May 17, 2020Thank You
Sabna Stha
May 17, 2020Thank you
P r a k A s h
May 17, 2020Thank you