首页 开发技术 C     /    Shell命令解释器项目源码+文档

Shell命令解释器项目源码+文档

上传者: zyx425 | 上传时间:2020/4/11 1:08:30 | 文件大小:421KB | 文件类型:rar
Shell命令解释器项目源码+文档
Linux操作系统中shell是用户与系统内核沟通的中介,它为用户使用操作系统的服务提供了一个命令行界面,用户在shell提示符下输入的每个命令都由shell先解释,然后传给内核执行。
本实验要求用C语言编写一个简单的shell程序,希望达到如下目的:1、 能够执行外部程序命令,命令可以带参数;
2、 能够执行fg、bg、cd、history、exit等内部命令;
3、 使用管道和输入输出重定向;
4、 支持前后台作业,提供作业控制功能,包括打印作业的清单,改变当前运行作业的前/后台状态,以及控制造业的挂起、中止与继续运行;
5、 使用Make工具建立工程;
6、 使用调试器gdb来调试程序;
本软件ID:3609769

文件下载

资源详情

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

评论信息

  • qq_18133547:
    很好的资料,谢谢分享!2015-05-13
  • StupidBad_Boy:
    代码和说明都很详细2015-04-09
  • dd0082525983:
    说的不清楚,永不了2015-03-30
  • bingshui959:
    源码很详细,有用2015-01-06
  • 卜头儿:
    内容很全,对我挺有帮助的2014-07-22

免责申明

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