I'm following a guide to setup airport in monitoring mode to do my networking exercise. I've made a shortcut to airport using this command:
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
If I navigate to
/usr/sbin/airport and display the contents with
ls I can clearly see airport in there.
If I try to type
airport -l or even just airport I get:
-bash: airport: command not found
Why doesn't he recognise my command?
NB: I am in the correct directory when I type that command