Every time I try to find out how to do this, I find out how to do it on a linux, and it doesn't transfer. How do I connect to a WiFi network using Mac Terminal Bash?
As of Snow Leopard (Mac OS X v10.6.x) and possibly earlier, you can do:
If you look at the man page or help/usage statement for
Here is a little guide on using airport in the Command Line
Apparently you can use
as a command. I would try
and see if it brings up some options.
This answer is outdated. Please ignore it