diff --git a/Assignment1.md b/Assignment1.md index bf043b0..de9779e 100644 --- a/Assignment1.md +++ b/Assignment1.md @@ -118,4 +118,17 @@ Shell是一个应用程序,接收从键盘输入的命令,并传递给操作 ##### iv)`head/tail`:打印文件首/尾内容(查看大文件) -![head](img/assignment1/head.png) \ No newline at end of file +![head](img/assignment1/head.png) + + +##### v)`grep`:打印包含指定内容的行(关键字符查找)。如下图,打印a-content.txt中包含"5"和"line 5"的行。 + +![grep](img/assignment1/grep.png) + + + + + +##课后作业 + +### Q1:上传model.py,打印文件中定义的所有函数,截图包含命令和打印内容