摘要: 向处于CLOSE_WAIT的socket发送数据是OK的, 向CLOSED状态的socket发数据触发,BrokenPipeError, 此时fd没有被释放,client此socket没有close, 调用close后, lsof显示连接被释放, 在调用send时, 报OSError 阅读全文
posted @ 2022-10-16 20:29 ascertain 阅读(39) 评论(0) 推荐(0)
摘要: history相关环境变量 HISTIGNORE export HISTIGNORE='pwd:ls:ls -l:exit' will not log command pwd ls, ls -a会记录, 即加参数会记录 HISTCONTROL export HISTCONTROL='ignoredu 阅读全文
posted @ 2022-10-16 18:20 ascertain 阅读(34) 评论(0) 推荐(0)