NetBSD Notes - ipatch/theairportwiki GitHub Wiki
To restart networking in NetBSD 4.0
/etc/rc.d/network restartTo find the PID of a process by its name
ps -ef | grep -i airportTo show the list of open files by a process
lsof -p <PID>To create a user account with the following command
useradd -m -G wheel steveTo display the architecture and endianess of the system
uname -mrpsTo determine the hardware type / platform
uname -mTo determine architecture of the processor
uname -pTo determine release level
uname -rTo determine the last time a $USER logged into a system
last <user_name>To launch a NetBSD 4.0 VM with networking
qemu-system-x86_64 -m 512 VM/netbsd4.0 -net user -net nic,model=ne2k_pci &- see if the below commands are applicable to NetBSD
dmesg | grep CPU
dmesg | grep memory
last -1 reboot
last -1 shutdown