这是一个shell项目,该项目是模拟Linux下的命令解析器。Shell提供了一种与操作系统之间通讯的方式,在Linux上,它是一种命令行式的shell。等待用户输入命令,向操作系统解释用户输入的命令,并且处理各种各样操作系统向外部的输出结果。 这个项目,首先实现一个mybash操作,模拟Linux系统下的bash功能,接收并处理用户的输入命令;然后创建mybin目录文件,在该目录文件来存放可执行文件,即就是命令的实现。主要实现了cd、ls、su、pwd等命令,来模拟Linux下的bash简单操作。
1miaoaxin / myshell Goto Github PK
View Code? Open in Web Editor NEWThis project forked from freerui/myshell
这是一个shell项目,该项目是模拟Linux下的命令解析器。Shell提供了一种与操作系统之间通讯的方式,在Linux上,它是一种命令行式的shell。等待用户输入命令,向操作系统解释用户输入的命令,并且处理各种各样操作系统向外部的输出结果。 这个项目,首先实现一个mybash操作,模拟Linux系统下的bash功能,接收并处理用户的输入命令;然后创建mybin目录文件,在该目录文件来存放可执行文件,即就是命令的实现。主要实现了cd、ls、su、pwd等命令,来模拟Linux下的bash简单操作。