From 691e2145ace698bd8058cec3334da4fdfb50f88d Mon Sep 17 00:00:00 2001 From: Andie1204 <34856399+Andie1204@users.noreply.github.com> Date: Tue, 12 Jun 2018 22:58:15 +0800 Subject: [PATCH] =?UTF-8?q?160804101=E5=AE=89=E6=98=A5=E9=9C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...1\345\256\211\346\230\245\351\234\226.txt" | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 "160804101\345\256\211\346\230\245\351\234\226.txt" diff --git "a/160804101\345\256\211\346\230\245\351\234\226.txt" "b/160804101\345\256\211\346\230\245\351\234\226.txt" new file mode 100644 index 0000000..b39f16b --- /dev/null +++ "b/160804101\345\256\211\346\230\245\351\234\226.txt" @@ -0,0 +1,38 @@ +Exercise 1 ++1. root@ubuntu:/home# touch message.txt ++ root@ubuntu:/home# mkdir A ++ root@ubuntu:/home# mv message.txt /home/A/ ++2. root@ubuntu:/home/A# cp message.txt /home ++3. root@ubuntu:/home# find /home -name "message.txt" -delete ++ ++Exercise 2 ++1. root@ubuntu:/home# mkdir workbench ++2. root@ubuntu:/home# touch workbench/readme.txt ++3. root@ubuntu:/home# vim readme.txt ++ ����i���б༭ ����esc ��wq�˳� ++4. root@ubuntu:/home# cat -n readme.txt (-n ��ӡ����) ++5. root@ubuntu:/home# ls /home >> /home/workbench/list.txt ���ض�������� ++6. root@ubuntu:/home# wc -m /home/workbench/list.txt ��-m ͳ���ַ����� ++ ++Exercise 3 ++1. root@ubuntu:/home# man ls ++2. root@ubuntu:/home# man man ++3. root@ubuntu:/home# apropos calendar ++ ����������� ++ root@ubuntu:/home# man calendar ++ ++Exercise 4 ++����һ���ļ���data������ jpg png txt ���ָ�ʽ���ļ�,���������ļ��� labpic scidata ++1.root@ubuntu:/home/ubuntu/data# find -name "*.png" ++2.root@ubuntu:/home/ubuntu/data# find -name "*hiking*" -delete ++3.�������� ѹ���ٽ�ѹ ++ root@ubuntu:/home/ubuntu/data# tar czvf data.tar.gz *.txt ++ root@ubuntu:/home/ubuntu/data# tar xzvf data.tar.gz -C scidata/ ++ ������Ƭ �ȴ��png������jpg ֮��ѹ����ѹ ��� ++ root@ubuntu:/home/ubuntu/data# tar cf pic.tar *.png ++ root@ubuntu:/home/ubuntu/data# tar rf pic.tar *.jpg ��r ���ӣ� ++ root@ubuntu:/home/ubuntu/data# tar czvf pic.tar.gz pic.tar ++ root@ubuntu:/home/ubuntu/data# tar xzvf pic.tar.gz -C labpic/ ++ root@ubuntu:/home/ubuntu/data# cd labpic ++ root@ubuntu:/home/ubuntu/data/labpic# tar xf pic.tar ++ \ No newline at end of file