When nothing else seemed to work this helped me to get rid of all the duplicates from failed yum updates. After trying the above I still had some duplicates on a different server but the ‘Remove Duplicates’ script below seemed to work fine for me. NOTE: I was looking at…
Category: UNIX
Strong Password
Need help with what a strong password is? Strong password recommendations are as follows: Must contain 14 or more characters Must contain upper and lower case letters Must contain a number or special character (e.g. !@#$%^) Must NOT be the same as your previous 12 passwords Must NOT be similar…
Uptime Formated
If you simply want uptime formatted this small script will help. Uptime by itself will display similar to: 20:25:48 up 3 days, 8:14, 1 user, load average: 2.07, 2.17, 2.35 Formatted using the code above will display similar to: 3 days, 8 hours, 15 minutes.
UNIX – Pi-Hole Project – Statistics
If you are using Pi-Hole you may find this script useful Currently this is designed to run on the server that is running Pi-Hole but as I have more than one I want to monitor I will soon have an update for additional. First make sure you update your /var/www/html/admin/scripts/pi-hole/php/data.php…
Mac OS X Terminal – Create Bootable OS X Installer
Need to create a thumb drive installer for Mac OS? This script will help you out
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…
HomeBrew – Mac OS Setup
I use a Mac for my primary computer and sometimes I need to setup a new VM similar to my computer for testing. Here is the basic setup that I use HomeBrew for. I’ll add more later as I remember more or use it more. NOTE: If you receive an…
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…
UNIX – Display Network Information
The following code will give you network specific information about your server/computer.