摘要:
getopts参数的使用 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [root@localhost ~]# cat getopts.sh #!/bin/bash echo $* while getopts ":a:bc:" opt d 阅读全文
摘要:
使用windows 和 ubuntu 双系统的人,很有可能碰到重装某一个系统,或者另外添加分区,导致系统重启出现 : [html] view plain copy GRUB loading error:unknow filesystem grub rescue> [html] view plain 阅读全文
摘要:
1、system(执行shell 命令) 相关函数 fork,execve,waitpid,popen表头文件 #include<stdlib.h>定义函数 int system(const char * string);函数说明 system()会调用fork()产生子进程,由子进程来调用/bin 阅读全文