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.
Category: UNIX
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.
UNIX – Terminal – Oh My Zsh Setup
As much as I like Oh My Zsh sometimes you have to go back to original terminal as not all things are supported. NOTE: This is part of a setup I do for new computers, see HomeBrew – Mac OS Setup For more information on Oh My Zsh, see https://github.com/robbyrussell/oh-my-zsh
Mac OS X Terminal – New Computer Setup Script
This is a collection of configurations for the setup a new Mac in a business environment.