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…
Category: Mac OSX
Posts in this category are specific to Mac OS and may not work on other UNIX based systems.
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.
Mac OS X – Get Network Information
Every once in a while you need to get some basic network information from your Mac or a Mac you are supporting, this script below will help get you some helpful information.
Mac Terminal – PowerShell on Mac OS
Resource: https://blog.azureandbeyond.com/2016/11/11/powershell-azure-and-macos-absolutely/
Mac Terminal – Random Readable Password
I recently was challenged to create a random readable password for Mac OS. While I designed this for Mac OS it’s likely it will work with little to no changes on any UNIX system. Password format was two digit number then a word followed by another word with special characters…
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?
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
Mac OS X Terminal – Parallels – Reset Windows User Password
Forgot your password to your Parallels Windows Virtual Machine? Power up your Windows VM then run this script to list all machines as you need the ID You’ll see something like this Copy the UUID minus the { } brackets Run this next piece for each user you want to…
Mac OSX Terminal – Get Stored Wireless (Wi-Fi) Password
Addition to Find & Scan Wireless Networks the additional line will require a password but then display the stored password for the defined router name.