[[sysadmin:freebsd|FreeBSD]] example commands
Work in Progress %W%
tmux
virtual terminal similar to screen
tmux ctrl-b d tmux a ctrl-b c ctrl-b n https://tmuxcheatsheet.com
Temperature
#sysctl dev.cpu | grep temperature (klappt nicht) sysctl -a | grep temperature # check temperatur kldload coretemp sysctl -a | grep -i "temp".
list open ports
sockstat -4 -l lsof -i netstat -an
PXE boot
filename "loader.efi";
# copy iso to tftp mdconfig -a -t vnode -f /usr/src/release/disc1.iso mount -t cd9660 /dev/md0 /mnt cd /mnt mkdir -p /var/pxeinstall && find -d -x . | cpio -pdum /var/pxeinstall cd umount /mnt mdconfig -d -u 0 # # Anschlissend noch in /etc/fstab (in dem pxe!) iso9660 auskommentieren # #Preparing the Soekris for PXE Network Booting #To do this, enter the Soekris BIOS (ctrl + p) and type: boot f0 # set ConSpeed=9600 boot f0 consdev com0 terminal uf 9600 stellen boot netbsd