Create iptables Rules Based on Hostname Using IP Sets
Learn how to use IP Sets and a simple Bash script to update your iptables rules based on a clients hostname or domain name instead of IP address.
How to Change the System Hostname in Red Hat 7 or CentOS 7
Changing a host name in RHEL7 and CentOS 7 Linux is a little different now that it uses SystemD by default. You can set the host name of any system with the hostname command. This will not be a permanent change, as the system will…
How to Change a Machines Hostname in Red Hat 6
There are several ways to change the hostname of a machine running Redhat 6. These also works on CentOS, Fedora and older/other Redhat variants. The hostname Command You can use this command to see the current name of the system. # hostnamebighat.putorius.net You can also…
How to Schedule File Backups to Google Drive in Linux
Google Drive is a cloud storage service that allows us to backup the files and access them securely from any device. In Linux, you can easily mount the Google drive using the Gnome online accounts utility. After mounting the Google drive, you can upload any…
Linux Who Command – Display List of Logged In Users
The Linux who command displays list of users that are logged into a system from the terminal or remotely along with other system information.
systemd-tmpfiles – Managing Temporary Files & Directories
Using systemd-tmpfiles services for managing system and user temporary files and directories and creating user specific systemd-tmpfiles configurations.
Using systemd Path Units to Monitor Files and Directories
Use systemd path units to monitor files and directories and set service units to execute custom scripts when changes are observed.
Traceroute – Troubleshoot Network Connections in Linux
Using the traceroute command to troubleshoot network issues on a Linux system. Learn the basics of traceroute and how to use it’s options.