-
CentOS | Code | Fedora | macOS | macOS Shell | Raspberry Pi | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts
-
CentOS | Code | Fedora | macOS | macOS Shell | Network | Raspberry Pi | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts
NMAP – Find Machines On Your Network
NMAP (a form of ARP list) is a tool for scanning your network for machines that are up or down along with pulling some helpful information from the machines that are up. Similar to Remotely Find Raspberry Pi IP but this is a bit more in-depth First install nmap if needed Now you need to…
-
CentOS | Code | Fedora | macOS | macOS Shell | OpenSSL | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts
DigiCert – OpenSSL Certificate Conversion
I work with digicert® to get certificates. The way we get certificates sometimes requires me to convert the certificates, below is the process I use to get the formats for what I may need. This script assumes you have a directory with only the .csr file and the .zip file from digicert® and then run…
-
CentOS | Code | Fedora | macOS | macOS Shell | Raspberry Pi | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts
UNIX – Display Network Information
The following code will give you network specific information about your server/computer.
-
Red Hat – Check Subscription / Register Server
Check subscription manager status Register If Not Registered If you have restored a previous snapshot or somehow lost the subscription connection, you should unregister and then go through the above process to “re-register”.
-
CentOS | Code | Fedora | macOS | macOS Shell | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts
UNIX – List Files With Permissions In CHMOD Numbers
If you’re on UNIX you know ls will list files in a directory but typically you’ll get something like You can simily stat the file(s) with the below What if we work with stat and make it easier?
-
CentOS | Code | Fedora | macOS | macOS Shell | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts
UNIX – SED Remove Comment Lines
This script will remove all lines that start with # along with all comments. Whatever file you choose I suggest you view first then execute
-
Red Hat / CentOS / Fedora – Install/Configure Cerbot
This is a work in progress….
-
Azure | Code | Red Hat | UNIX | UNIX Shell Scripts
Azure Red Hat – RHUI Update
Most of the this script is based on the document “Red Hat Update Infrastructure (RHUI) for on-demand Red Hat Enterprise Linux VMs in Azure” at https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-update-infrastructure-redhat?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json My change will first check if the update was already installed, if not it will follow the process to install See updates at: https://gitlab.com/Kittell-RedHat/AzureRepo/raw/master/AzureRedHatRepoUpdate.sh
-
GitLab – Move data to different directory
If you’re running low on disk space or simply want to move the data this script will help. Of course modify the path as needed. First double check your paths