《操作系统——精髓和设计原理》中的项目myshell,并不是我自己写的,里面有很详尽的解释,这个shell的纠错能里能强大。 i.cd - change the current default directory to . If the argument is not present, report the current directory. If the directory does not exist an appropriate error should be reported.
【文件格式是Linux下的gz压缩包,在Windows下可以用WinRAR解压】 本人原创的操作系统上机作业(源代码),自己编写一个简单的Linux下的shell(a simple myshell)!原题见William Stallings写的《Operating Systems - Internals and Design Principles》(操作系统--内核与设计原则): The shell must support the following internal commands: c