摘要: [git rebase详解(图解+最简单示例,一次就懂)]https://blog.csdn.net/weixin_42310154/article/details/119004977 阅读全文
posted @ 2024-01-15 17:44 starc再起航 阅读(1) 评论(0) 推荐(0) 编辑
摘要: FILE * popen( const char * command,const char * type); popen()会调用fork()产生子进程,然后从子进程中调用/bin/sh -c来执行参数command的指令。参数type可使用“r”代表读取,“w”代表写入。依照此type值,pope 阅读全文
posted @ 2024-01-15 17:40 starc再起航 阅读(17) 评论(0) 推荐(0) 编辑
摘要: cat /proc/net/dev |awk '{ if(NR!=1 && NR!=2) print $0 }' |sed 's/:/ /g'| awk '{ print($1,$2,$3,$5,$10,$11,$13)}' 【c/c++实现linux下各个网络流量抓取】https://blog.c 阅读全文
posted @ 2024-01-15 17:27 starc再起航 阅读(18) 评论(0) 推荐(0) 编辑
摘要: strtok 字符串分段截取 https://www.runoob.com/cprogramming/c-function-strtok.html char *strtok(char *str, const char *delim) #include <string.h> #include <std 阅读全文
posted @ 2024-01-15 17:25 starc再起航 阅读(2) 评论(0) 推荐(0) 编辑