Learn how to define your system hostname on Red Hat 8 locally or remotely. Use pretty names on your system…
Redhat 8 hostnamectl Command – All system must have a hostname defined in order to be identified on the network. On Red Hat 8 we use hostnamctl command to define the system hostname, this command has a few options :
First let’s check our system status and check our current hostname.
[root@poplab ~]# hostnamectl status
Now let’s define our system hostname using the command hostnamectl:
[root@poplab ~]# hostnamectl set-hostname poplab.pt
Sometimes is necessary to use a hostname with strange names or symbols for that we can use the pretty parameter.
[root@poplab ~]# hostnamectl set-hostname "PopLab" --pretty
To empty the hostname field just type:
[root@poplab ~]# hostnamectl set-hostname ""
If is necessary we can change the hostname on a remote machine, just type the next command:
[root@poplab ~]# hostnamectl set-hostname -H [username]@poplab
Hostname can be changed with another tool called nmcli
[root@poplab ~]# nmcli general hostname
[root@poplab ~]# nmcli general hostname poplab.pt
[root@poplab ~]# hostnamectl set-location HomeLAB
Understand UDEV Folder /dev Understand D-BUS Device Commands List devices on PCI BUS lspci List devices on USB BUS lsusb…
A pseudo file system does not exist on a physical hard disk,is created by the Kernel and only runs all…
LPIC1 Category - 101.1 Determine and configure hardware settings uname command display information about the running Kernel. uname Display a…
Linux ACLs can control the filesystem features and flags for each file or folder. Introducing ACLs in Linux ACLs Kernel…
Learn how to Install Power DNS on Red Hat 7 using a command line. Configure your DNS Authoritive server and…
BIOS Processor Instructions INTAddressTypeFunction Description00h0000:0000hProcessorDivide Error01h0000:0004hProcessorSingle Step02h0000:0008hProcessorNon-maskable interrupt03h0000:000ChProcessorBreakpoint instruction04h0000:0010hProcessorOverflow instruction05h0000:0014hBIOS ProcessorPrint screen Bound range exceeded06h0000:0018hProcessorInvalid opcode07h0000:001ChProcessorCoprocessor not available08h0000:0020hHardware ProcessorIRQ 0…