shell命令解释模拟(课设)

上传者: liu_10000 | 上传时间: 2021-09-09 10:47:35 | 文件大小: 590KB | 文件类型: ZIP
要求在Linux/Unix上用C语言开发一个下命令解释程序,软件能在Linux/Unix平台下运行,也就是linux中的shell程序,在本程序中我们将其起名为ysh,要求: 1、能够执行外部程序命令,命令可以带参数; 2、能够执行fg、bg、cd、history、exit等内部命令; 3、使用管道和输入输出重定向; 4、支持前后台作业,提供作业控制功能,包括打印作业的清单,改变当前运行作业的前/后台状态,以及控制作业的挂起、中止与继续运行;

文件下载

资源详情

[{"title":"( 75 个子文件 590KB ) shell命令解释模拟(课设)","children":[{"title":"shell","children":[{"title":"操作系统课程设计报告.doc <span style='color:#111;'> 293.50KB </span>","children":null,"spread":false},{"title":"复件 Shell命令解释器项目规划V1.0.doc <span style='color:#111;'> 243.50KB </span>","children":null,"spread":false},{"title":"shell命令解释器测试说明.txt <span style='color:#111;'> 957B </span>","children":null,"spread":false},{"title":"code_bak","children":[{"title":"text <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"myjobs.h <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"save_cmd.h <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"addBlank.h <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"my_strstr.c <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"redirect.h <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"keypress.h <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"test <span style='color:#111;'> 11.37KB </span>","children":null,"spread":false},{"title":"test.c <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"isincmd.h <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"my_strstr.h <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"check.h <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"save_cmd.c <span style='color:#111;'> 834B </span>","children":null,"spread":false},{"title":"init_environ.c <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"redirect.c <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"myjobs.c <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"my_pipe.h <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"history.c <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"isincmd.c <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"main.c.bak <span style='color:#111;'> 4.77KB </span>","children":null,"spread":false},{"title":"mysh_profile <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"my_pipe.c <span style='color:#111;'> 866B </span>","children":null,"spread":false},{"title":"init_environ.h <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"test1 <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"keypress.c <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"myinclude.h <span style='color:#111;'> 663B </span>","children":null,"spread":false},{"title":"history.h <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"check.c <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"addBlank.c <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"myshell <span style='color:#111;'> 21.39KB </span>","children":null,"spread":false}],"spread":false},{"title":"复件 实验指导书--shell命令解释器V1.0.doc <span style='color:#111;'> 211.00KB </span>","children":null,"spread":false},{"title":"实验指导书--shell命令解释器V1.0.doc <span style='color:#111;'> 130.00KB </span>","children":null,"spread":false},{"title":"code","children":[{"title":"text <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"myjobs.h <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"save_cmd.h <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"main.c~ <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false},{"title":"addBlank.h <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"my_strstr.c <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"redirect.h <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"keypress.h <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"test <span style='color:#111;'> 11.37KB </span>","children":null,"spread":false},{"title":"test.c <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"my_strstr.c~ <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"isincmd.h <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"my_strstr.h <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"check.h <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"save_cmd.c <span style='color:#111;'> 834B </span>","children":null,"spread":false},{"title":"init_environ.c <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"addBlank.c~ <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"redirect.c <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"myjobs.c <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"my_pipe.h <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"history.c <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"isincmd.c <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"main.c.bak <span style='color:#111;'> 4.77KB </span>","children":null,"spread":false},{"title":"mysh_profile <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"my_pipe.c <span style='color:#111;'> 866B </span>","children":null,"spread":false},{"title":"init_environ.h <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"test1 <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"keypress.c <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"init_environ.c~ <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"myinclude.h <span style='color:#111;'> 663B </span>","children":null,"spread":false},{"title":"history.h <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"check.c <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"addBlank.c <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"myshell <span style='color:#111;'> 16.96KB </span>","children":null,"spread":false}],"spread":false},{"title":"Shell命令解释器项目规划V1.0.doc <span style='color:#111;'> 115.00KB </span>","children":null,"spread":false},{"title":"步骤.txt <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • mengshang90 :
    代码可以运行,里面有项目规划书、实验指导书、资料比较全
    2013-10-18

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明