2015年2月3日
摘要: 1. /etc/rc.local这是使用者自订开机启动程序,把需要开机自动运行的程序写在这个脚本里。把脚本程序写在/etc/rc.d/init.d/目录下也可以 在完成 run level 3 的服务启动后,如果我还有其他的动作想要完成时,举例来说, 我还想要寄一封 mail 给某个系统管理帐号,通... 阅读全文
posted @ 2015-02-03 23:15 后进后退 阅读(1274) 评论(1) 推荐(0) 编辑
摘要: chkconfig 阅读全文
posted @ 2015-02-03 22:43 后进后退 阅读(188) 评论(0) 推荐(0) 编辑
摘要: getopt_long支持长选项的命令行解析,使用man getopt_long,得到其声明如下:#include intgetopt_long(int argc, char * const argv[],const char *optstring,const struct option *long... 阅读全文
posted @ 2015-02-03 17:43 后进后退 阅读(725) 评论(0) 推荐(0) 编辑