-
-
-
-
-
CentOS | Code | Fedora | macOS | macOS Shell | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts
UNIX Bash – Get Latest File Name Based On DateTime
Working on a backup and restore script I often need only to know what the latest backup/archive file is, this command helps you learn that.
-
Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
Mac OSX Terminal – Get Active Interface
This will let you know which network interface you are actively using should you have Wi-Fi and Ethernet connected. Get name of network interface
-
Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
Mac OSX Terminal – Disable IPv6
This will first disable IPv6 for Wi-Fi then go through all Ethernet hardware and disable the IPv6 Similar to before this will first enable IPv6 for Wi-Fi then go through all Ethernet hardware and enable the IPv6
-
-
Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
Mac OSX Terminal – Get Mac Serial Number
A quick and easy way to get your serial number
-
Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
Mac OSX – Update DNS Based On WiFi
I often have to bounce between WiFi at the office and the public WiFi so I finally put this script together. You will need to get the BSSID of your WiFi connection to replicate this but here is the code, of course you need to run this with sudo privileges If you chmod a+x the…