UniFi’s AP OS is forked from a sort of ancient branch of LEDE, which is a linux distro that was branched from OpenWRT…so it’s a really pared-down busybox linux. A lot of the commands should be familiar, but it’s nice to keep these in one place, anyway:

Command LineFunction
infodisplays device info
set-defaultfactory reset
set-inform http//192.168.1.1:8080/informset adoption / inform URL
upgrade https://10.0.0.1/firmware.binupgrade firmware
fwupdate https://10.0.0.1/firmware.binupdate firmware
rebootreboot device
poweroffshut down device
uptimeshow device uptime
ifconfigshow interfaces and addresses
ip addressshow interfaces and addresses
ip address add 192.168.1.150/24 dev br0set static ip address on ethernet bridge device
ip routeshow routing table
ip route add default via 192.168.1.1add default route to routing table
vi /etc/resolv.confconfigure resolv.conf with nameserver, etc.
ping 1.1.1.1ping
arp -ashow arp table entries
ip neighshow ipv6 neighbors