
LINUX/UNIX
文章平均质量分 81
amdk_7
这个作者很懒,什么都没留下…
展开
-
freebsd目录架构
目录架构 目录层次是理解一个系统的重要基础, 最重要的莫过于它的根目录 “/”,这个目录在启动时就就挂上, 它包含了启动时所需的基本系统。这个根目录同样包含了想要挂接的每一个文件系统。 挂接点 (mount point) 是新增的文件系统在接入现有系统时的起点位置。 在 第 3.5 节 对此进行了详细的阐述。 标准的挂接点包括 /usr、 /var、 /tmp、 /mnt, 以及 /c转载 2007-03-05 19:50:00 · 1075 阅读 · 0 评论 -
Serial Programming HOWTO
Serial Programming HOWTO Linux 串口编程 中英文简体对照 beta 版 翻译:Carol Li原作:Gary Frerking gary@frerking.orgPeter BaumannThis document describes how to program communications with device转载 2007-03-14 12:00:00 · 5097 阅读 · 0 评论 -
How to change your shell prompt.
How to change your shell prompt.In my last article I discussed how to change your shell. Now lets change your prompt to make it helpful.Here are what some of my prompts look like:brendhan@TheBaron>$转载 2007-04-12 17:21:00 · 3566 阅读 · 0 评论 -
linux下的deamon进程
设计一个linux下的deamon进程,关键只有几个: 1.fork两次。 2.fork第一次和第二次之间成为进程组头。 3.改变工作目录。 4.忽略信号。 5.设置读写掩码。 一下是一个从网络搜集到的例程,非常好的演示了上述要点,存此备忘。 #include #include #include #include void main(int argc, char ** argv)转载 2007-07-22 03:12:00 · 1390 阅读 · 0 评论