Site Tools


linux:general:network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:general:network [2022/12/16 10:48] lunetikklinux:general:network [2022/12/16 10:51] (current) lunetikk
Line 192: Line 192:
 sudo vi /etc/hostname sudo vi /etc/hostname
 </code> </code>
-Reload your hostname+Set your hostname
 <code> <code>
 hostname –F /etc/hostname hostname –F /etc/hostname
 +</code>
 +
 +New syntax to set a hostname
 +<code>
 +hostnamectl set-hostname "YOURHOSTNAME"
 +</code>
 +Show hostname
 +<code>
 +hostnamectl
 </code> </code>
  
linux/general/network.1671184132.txt.gz · Last modified: 2022/12/16 10:48 by lunetikk