airport2-portinspector: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/airport2-portinspector - from package: airport-utils

You may install the required package with command apt-get install {package}
Error in other languages:
airport2-portinspector: bevel nie gevind nie
airport2-portinspector: comandă negăsită
airport2-portinspector: comando não encontrado
airport2-portinspector: commande introuvable
airport2-portinspector: command not found
airport2-portinspector: käsku ei ole
airport2-portinspector: không tìm thấy lệnh
airport2-portinspector: komanda nerasta
airport2-portinspector: Kommando nicht gefunden.
airport2-portinspector: kommandot finns inte
airport2-portinspector: komut yok
airport2-portinspector: nie znaleziono polecenia
airport2-portinspector: níor aimsíodh an t-ordú
airport2-portinspector: no se encontró la orden
airport2-portinspector: no s'ha trobat l'ordre
airport2-portinspector: opdracht niet gevonden
airport2-portinspector: parancs nem található
airport2-portinspector: perintah tidak ditemukan
airport2-portinspector: príkaz nenájdený
airport2-portinspector: příkaz nenalezen
airport2-portinspector: команда не найдена
airport2-portinspector: командата не е открита
airport2-portinspector: 命令找不到
airport2-portinspector: コマンドが見つかりません