这是我在国立交通大学交换期间修选OS课程实现的课程项目,代码量300行左右
目标:实现一个简单的shell解释器,要求支持如下功能
- 解释执行命令
- 内建命令
cd
exit
- pipe 管道
fg
前台执行命令bg
后台执行命令- 彩色提示符
- Ctrl -Z Ctrl -C 信号处理
详细的实现细节见文档:从零构建自己的mini shell
环境:ubuntu 14.4
编译器:gcc
main 函数和功能函数放在源文件 sh.c
执行 make
可生成 mysh
可执行文件
Implement an mini shell
这是我在国立交通大学交换期间修选OS课程实现的课程项目,代码量300行左右
目标:实现一个简单的shell解释器,要求支持如下功能
cd
exit
fg
前台执行命令bg
后台执行命令详细的实现细节见文档:从零构建自己的mini shell
环境:ubuntu 14.4
编译器:gcc
main 函数和功能函数放在源文件 sh.c
执行 make
可生成 mysh
可执行文件
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.