![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
不接收syn_ack
菜鸟是高手的第一阶段
展开
-
Bash: about .bashrc, .bash_profile, .profile, /etc/profile, etc/bash.bashrc and others
Ever wondered what's the difference between~/.bashrc,~/.bash_profile,~/.profile,/etc/profile,/etc/bash.bashrc (and maybe others) and what their purposes are? I do. Some interesting excerpts from th转载 2013-03-01 10:19:47 · 438 阅读 · 0 评论 -
COW技术(写时复制技术)
COW技术初窥: 在Linux程序中,fork()会产生一个和父进程完全相同的子进程,但子进程在此后多会exec系统调用,出于效率考虑,linux中引入了“写时复制“技术,也就是只有进程空间的各段的内容要发生变化时,才会将父进程的内容复制一份给子进程。 那么子进程的物理空间没有代码,怎么去取指令执行exec系统调用呢? 在fork之后exec之前两个进程用转载 2013-03-31 19:54:20 · 1255 阅读 · 0 评论 -
Ubuntu下为cooja创建图标
1、第一步创建空白文件【$ touch】 有3个地方值得关注: 分别为Exec=软件执行文件的路径或命令,Icon=快捷方式图标,Name=名称 [Desktop Entry] Categories=Development; Comment[zh_CN]= #中文 Comment= #英文 Exec=ant -buildfile /home/sign/contiki-2.6/tool原创 2013-03-26 16:33:46 · 974 阅读 · 0 评论 -
APUE摘记
num 001[僵死进程] 子进程结束时,父进程尚未结束,且未对该子进程调用wait函数的进程 避免zombie的两种方法: type one:两次调用fork()函数让init进程领养该子进程,当该子进程结束后,init会默认对该进程调用wait type two:由于linux系统在处理SIGCHLD信号时跟随SVR4,所以信号安装时将signal(SIGCHLD,SIG_DFL)更改原创 2013-04-09 20:59:06 · 471 阅读 · 0 评论