文件名称:shell
介绍说明--下载内容均来自于网络,请自行研究使用
实现带参数的简单shell
1、除了系统调用execve,不允许使用其他的exec函数。输入应当允许带多个参数(一行内可以表示),不考虑通配符 (即“*”、“?”、“-”等等)的处理。
2、输入错误命令能提示出错并进入下一轮接收命令状态。
3、可以用Ctrl-C和Ctrl-\结束简单shell的运行。
4、程序运行正确,提示简洁明确。
-Parameters to achieve a simple shell 1, apart from the system call execve, not allowed to use other exec functions. Input should be allowed to take multiple parameters (one line can be expressed), without considering a wildcard (ie, "*" ," ?" ,"-" , etc.) processing. 2, typographical errors, the command will prompt an error and enter the next round of the state to receive the command. 3, you can use Ctrl-C and Ctrl-\ the end of a simple shell operation. 4, the program is running correctly, suggesting that clear and simple.
1、除了系统调用execve,不允许使用其他的exec函数。输入应当允许带多个参数(一行内可以表示),不考虑通配符 (即“*”、“?”、“-”等等)的处理。
2、输入错误命令能提示出错并进入下一轮接收命令状态。
3、可以用Ctrl-C和Ctrl-\结束简单shell的运行。
4、程序运行正确,提示简洁明确。
-Parameters to achieve a simple shell 1, apart from the system call execve, not allowed to use other exec functions. Input should be allowed to take multiple parameters (one line can be expressed), without considering a wildcard (ie, "*" ," ?" ,"-" , etc.) processing. 2, typographical errors, the command will prompt an error and enter the next round of the state to receive the command. 3, you can use Ctrl-C and Ctrl-\ the end of a simple shell operation. 4, the program is running correctly, suggesting that clear and simple.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shell.c
apue.h
apue.h