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
Posts in this category are specific to macOS and may not work on other UNIX based systems.
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
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
A quick and easy way to get your serial number
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…
Secure Copy (SCP) is a useful UNIX command that allows you to securely copy files and directories between your local machine and a remote computer. In the examples below “-P 22” is not actually needed if the SSH port is 22. Many of the servers I connect to have a different port for security reasons…
First create symlink Once the Symlink is in place you can scan for Wi-Fi Referenced From: http://osxdaily.com/2012/02/28/find-scan-wireless-networks-from-the-command-line-in-mac-os-x/
This may need to change depending on your network interface Manual Process Running the above will display something like this More Automatic Process Prerequisite 1: Optional but useful, this script originally developed by VMWare has been modified to get some basic identification for linux based computers. More details at Bash – Unix Identification Prerequisite 2:…
Coming from Windows I sometimes still have the desire or need for a desktop shortcut/symlink. There are two easy options for this Right click the application, select “Make Alias” and drag that alias to the desktop and potentially rename it at one point or the other. Open Terminal (Applications – Utilities) and run a command…
Sometimes you really need to find a file that has certain text in it, these commands will help provided you have an idea of the directory or the string