PAN cli

Restart firewall: request restart system List all networks with IP: show routing interface List all connected devices: All interfaces: show arp all Only on interface/subinterface: show arp ethernet1/2.24 Restart service debug software restart process process_name Append core yes to dump data. User ID List all known groups, and filter on name: show user group list show user group list | match string Copy cn=something group to list members: show user group name "cn=something" you just copied. ...

Python 101

Create virtual python3 environment python3 -m venv .venv --upgrade-deps source .venv/bin/activate pip install package Instead of sourcing, you can use bin path ./venv/bin/pip3 install --upgrade PACKAGE or set the venv bin folder before existing path PATH=./venv/bin:$PATH Interactive python python -i .py file List outdated packages pip list --outdated Links The Python Package Index (PyPI)

RPI 101

Boot from USB vcgencmd otp_dump | grep 17 17:3020000a - USB BOOT 17:1020000a - NO USB BOOT Add to /boot/config.txt [all] program_usb_boot_mode=1