Using arrays in bash

Working with one of our enterprise clients recently I needed to use an array in a bash script. This was because we wanted to read a load of separate values from AD and then perform a different task on the results.  I had some memories using arrays with Objective-C but it took a bit of […]

Read more about Using arrays in bash

Bash Scripting: Proxies

Hi all. Welcome back to part 2 of the network configuration series. In this blog I will advise how to apply some proxy settings to your network locations Catching up In last month’s bash scripting blog, we created a new network location called “Home”, auto populated it with the available network interfaces, switched to it […]

Read more about Bash Scripting: Proxies

A Hidden Gem – airport command-line tool

Following on from Darren’s series of blogs on bash I thought I would add a hidden gem. The command line airport tool allows you to scan for Wi-Fi networks and sniff a Wi-Fi interface amongst others. The tool is buried deep in the System. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport Although there is a man page it doesn’t contain any […]

Read more about A Hidden Gem – airport command-line tool