RHEL 8 Change Hostname (computer name) command

In Red Hat Enterprise Linux (RHEL) 8, the hostname (computer name) can be changed using the hostnamectl command. To change the hostname, use the following command as root: hostnamectl set-hostname newhostname where newhostname is the desired hostname. You can also use the command below to change the hostname without reboot hostnamectl set-hostname newhostname –transient To … Read more

How to install and enable Bash auto completion in Fedora Linux

To install and enable Bash auto completion in Fedora Linux, you can use the following steps: Install the bash-completion package by running the command: sudo dnf install bash-completion To enable bash-completion for all users, add the following line to the /etc/bashrc file: if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion fi To enable bash-completion for … Read more

How to configure a FreeBSD 11 Jail with vnet and ZFS

Here are the general steps to configure a FreeBSD 11 jail with vnet and ZFS: Create a ZFS dataset for the jail: zfs create -o mountpoint=/jails/myjail tank/jails/myjail Install the jail management tool: pkg install ezjail Enable the ezjail service: sysrc ezjail_enable=”YES” Create the jail with vnet and ZFS support: ezjail-admin create -c vnet -m zfs … Read more