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
Next revision
Previous revision
linux:general:network [2021/08/30 22:42] lunetikklinux:general:network [2022/12/16 10:51] (current) lunetikk
Line 9: Line 9:
 |  80  |  HTTP  | |  80  |  HTTP  |
 |  111 + 2049  |  TCP/UDP - NFS  | |  111 + 2049  |  TCP/UDP - NFS  |
-|  123  |  UDP - NTP  +|  123  |  UDP - NTP  |
 |  137 + 139 + 445  |  TCP/UDP - SMB/Samba  | |  137 + 139 + 445  |  TCP/UDP - SMB/Samba  |
 |  443  |  HTTPS  | |  443  |  HTTPS  |
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.1630356139.txt.gz · Last modified: 2021/08/30 22:42 by lunetikk