编写基本壳牌 [英] Writing a Basic Shell

查看:169
本文介绍了编写基本壳牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关我的课我必须创建一个类似的bash基本的外壳,将允许用户调用ls之类,睡眠等命令
我在寻找资源,如何做到这一点:教程,帮助文本,样品code,甚至只是如何开始的一般信息。
没有人有一个链接或信息来帮助我?

For my class I have to create a basic shell similar to bash that will allow the user to call commands like ls, sleep, etc. I am looking for resources on how to do this: tutorials, help text, sample code or even just some general information on how to get started. Does anyone have an links or info to help me out?

推荐答案

glibc的手册包含实施外壳作业控制一些有用的信息:<一href=\"http://www.gnu.org/software/libc/manual/html_node/Implementing-a-Shell.html#Implementing-a-Shell\">http://www.gnu.org/software/libc/manual/html_node/Implementing-a-Shell.html#Implementing-a-Shell

The glibc manual contains some useful info on implementing job control in the shell: http://www.gnu.org/software/libc/manual/html_node/Implementing-a-Shell.html#Implementing-a-Shell

这篇关于编写基本壳牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆