查看本机IP及mac地址
ifconfig
#eno0
1
2
2
查看远程端口是否访问
nc -vz -w 2 10.180.247.146 80
-v details
-z Specifies that nc should just scan for listening daemons, without sending any data to them. It is an error to use this option in conjunction with the -l option.
-w timeout
#主机和端口号不能缺失
1
2
3
4
5
2
3
4
5
访达出现白条
点击白条,按住ESC
程序坞在分屏时,切换到分屏上,回不到主屏
- 按下option+command+D,开启程序坞“自动隐藏”,副屏程序坞消失
- 鼠标回到主屏,放在主屏正下方中间的边缘不要动,主屏能看到扩展坞出现了
- 按下option+command+D,锁定其到主屏。
刷新dns命令
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say DNS cache flushed