From 7f9a1f3aca9bbbbeba5ff5c97f61e1a893710434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E9=9B=AA=E6=9D=BE?= Date: Wed, 16 Sep 2020 16:41:22 +0800 Subject: [PATCH] Update Assignment1.md --- Assignment1.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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,打印文件中定义的所有函数,截图包含命令和打印内容