Stay hungry,Stay foolish

0%

tips

Mac 连 console

1
screen /dev/cu.usbserial 9600

tail -f 显示行号

1
tail -f test.txt | nl

vim 编辑二进制文件

vim打开某二进制文件后调用xxd命令

1
:%!xxd

保存退出

1
:%!xxd -r

vmware workstation 添加硬盘不重启

1
2
3
echo "- - -" > /sys/class/scsi_host/host0/scan
echo "- - -" > /sys/class/scsi_host/host1/scan
echo "- - -" > /sys/class/scsi_host/host2/scan