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