Category: UNIX Shell Scripts
SELinux Configuration Change
A couple ways to do this, I like this method below most as it bundles some stuff above into a nice package. Reference: https://www.crypt.gen.nz/papers/how-to-disable-selinux/
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.
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
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