导航

2021年5月14日 #

信号处理2

摘要: #include <sys/signalfd.h> #include <signal.h> #include <unistd.h> #include <stdio.h> #include <sys/wait.h> int main(void) { sigset_t set; int fd; stru 阅读全文

posted @ 2021-05-14 17:27 toughcactus 阅读(43) 评论(0) 推荐(0) 编辑

markdown学习

摘要: 很多开源项目里一定会有README.md文件,我org-mode撸不熟,所以吧,先找个能用的 https://www.zhihu.com/question/269925359 阅读全文

posted @ 2021-05-14 17:13 toughcactus 阅读(21) 评论(0) 推荐(0) 编辑

成就感 sed -i哈哈哈哈

摘要: 今天有个实操,就是config_0,config_1,config_2,config_3四个文件均要修改log路径 sed -i '/logpath/d' congfig_* echo "logpath xxxxxxx" > log_patch sed -i '/debug/r log_patch' 阅读全文

posted @ 2021-05-14 11:23 toughcactus 阅读(21) 评论(0) 推荐(0) 编辑