diff --git "a/26\345\210\230\345\200\251\345\200\251/20240518_\345\210\233\345\273\272\357\274\214\345\216\213\347\274\251\357\274\214\344\270\213\350\275\275\346\226\207\344\273\266\345\244\271.md" "b/26\345\210\230\345\200\251\345\200\251/20240518_\345\210\233\345\273\272\357\274\214\345\216\213\347\274\251\357\274\214\344\270\213\350\275\275\346\226\207\344\273\266\345\244\271.md" new file mode 100644 index 0000000000000000000000000000000000000000..fd744821129e6a799ebfd5b0502262f8e031d3f1 --- /dev/null +++ "b/26\345\210\230\345\200\251\345\200\251/20240518_\345\210\233\345\273\272\357\274\214\345\216\213\347\274\251\357\274\214\344\270\213\350\275\275\346\226\207\344\273\266\345\244\271.md" @@ -0,0 +1,100 @@ +1. 搜索finalshell怎么创建新用户 + + ![](.\imgs\0518_创建用户,密码.png) + + - 点击第一条 + + ![](.\imgs\0518_命令1.png) + +2. 登录后,依次建立文件夹 + + ```js + root@LQQ:/home# mkdir country/province/city/county/town/village/name -p + ``` + +3. 进入name文件夹,建立学号文件 + + - 百度搜索 finalshell如何创建文件 + + ![](.\imgs\0518_创建文件.png) + + - 命令为:touch 文件名.格式 + + ```js + root@LQQ:/home/country/province/city/county/town/village/name# touch 2244310736.txt + ``` + +4. 编辑文件 + + ![](.\imgs\0518_编辑内容.png) + + - 根据关键字 vi,nano 搜索相关用法 + + ![](.\imgs\0518_nano命令.npg.PNG) + + ![](.\imgs\0518_nano,cat命令.png) + + ```js + // 编辑 + root@LQQ:/home/country/province/city/county/town/village/name# nano 2244310736.txt + // 查看 + root@LQQ:/home/country/province/city/county/town/village/name# cat 2244310736.txt + ``` + +5. 将文件压缩 + + - 搜索不精确,从老师提供的网站入手 + + ![](.\imgs\0518_压缩文件.png) + + ![](.\imgs\0518_压缩文件命令.png) + + - 输入命令后,发现识别不了zip + + ```js + root@LQQ:~# zip -r country.zip /home + -bash: zip: command not found + ``` + + ![](.\imgs\0518_安装zip命令.png) + + 安装后重新执行 + + ```js + root@LQQ:~# zip -r country.zip /home + ...... + adding: home/country/province/city/county/town/village/ (stored 0%) + adding: home/country/province/city/county/town/village/name/ (stored 0%) + adding: home/country/province/city/county/town/village/name/2244310736.txt (deflated 51%) + + // 查看是否存在 + root@LQQ:/home/country/province/city/county/town/village/name# cd ~ + root@LQQ:~# ls + country.zip + + //解压 + unzip 文件名 + ``` + +6. 下载到电脑本地 + + ![](.\imgs\0518_下载文件.png) + + ![](.\imgs\0518_下载命令.png) + + - 尝试安装命令后,发现识别不了 yum + + - 将报错搜索后发现 + + ![](.\imgs\0518_yum和apt.png) + + - 修改命令 + + ```js + // 安装 + root@LQQ:~# apt-get install lrzsz + //下载 + root@LQQ:~# sz country.zip + ``` + + \ No newline at end of file diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_nano,cat\345\221\275\344\273\244.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_nano,cat\345\221\275\344\273\244.png" new file mode 100644 index 0000000000000000000000000000000000000000..2842c65ccadbe21f787adf175f53574f304b78b2 Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_nano,cat\345\221\275\344\273\244.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_nano\345\221\275\344\273\244.npg.PNG" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_nano\345\221\275\344\273\244.npg.PNG" new file mode 100644 index 0000000000000000000000000000000000000000..8b049a175c138d0e7e15814790c7a71b70e650ea Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_nano\345\221\275\344\273\244.npg.PNG" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_yum\345\222\214apt.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_yum\345\222\214apt.png" new file mode 100644 index 0000000000000000000000000000000000000000..2d5d973d785310768916247df7588d9bec6b2b2d Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_yum\345\222\214apt.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\344\270\213\350\275\275\345\221\275\344\273\244.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\344\270\213\350\275\275\345\221\275\344\273\244.png" new file mode 100644 index 0000000000000000000000000000000000000000..f2d8a6ea8cf81248e9174095c1283a9808dcd48f Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\344\270\213\350\275\275\345\221\275\344\273\244.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\344\270\213\350\275\275\346\226\207\344\273\266.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\344\270\213\350\275\275\346\226\207\344\273\266.png" new file mode 100644 index 0000000000000000000000000000000000000000..c72db494681bba6bf50a5b9d30689a8124ca6d32 Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\344\270\213\350\275\275\346\226\207\344\273\266.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\210\233\345\273\272\346\226\207\344\273\266.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\210\233\345\273\272\346\226\207\344\273\266.png" new file mode 100644 index 0000000000000000000000000000000000000000..2b49a1e359cdd6de1a3b32f3810dabc582d1abf9 Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\210\233\345\273\272\346\226\207\344\273\266.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\210\233\345\273\272\347\224\250\346\210\267\357\274\214\345\257\206\347\240\201.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\210\233\345\273\272\347\224\250\346\210\267\357\274\214\345\257\206\347\240\201.png" new file mode 100644 index 0000000000000000000000000000000000000000..c40147a6f9fff9d2b07866f3a88e798344daf30b Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\210\233\345\273\272\347\224\250\346\210\267\357\274\214\345\257\206\347\240\201.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\216\213\347\274\251\346\226\207\344\273\266.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\216\213\347\274\251\346\226\207\344\273\266.png" new file mode 100644 index 0000000000000000000000000000000000000000..d30a4cd14c9769207171f39db0508385cee6737f Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\216\213\347\274\251\346\226\207\344\273\266.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\216\213\347\274\251\346\226\207\344\273\266\345\221\275\344\273\244.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\216\213\347\274\251\346\226\207\344\273\266\345\221\275\344\273\244.png" new file mode 100644 index 0000000000000000000000000000000000000000..0209dc68b738097389e0dcd49b73aad090deae98 Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\216\213\347\274\251\346\226\207\344\273\266\345\221\275\344\273\244.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\221\275\344\273\2441.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\221\275\344\273\2441.png" new file mode 100644 index 0000000000000000000000000000000000000000..892316f628ec731de06f2c7c773cee76d2869f46 Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\221\275\344\273\2441.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\256\211\350\243\205zip\345\221\275\344\273\244.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\256\211\350\243\205zip\345\221\275\344\273\244.png" new file mode 100644 index 0000000000000000000000000000000000000000..2c27181ce5ff170165cc9adf4301296b6c05f279 Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\345\256\211\350\243\205zip\345\221\275\344\273\244.png" differ diff --git "a/26\345\210\230\345\200\251\345\200\251/imgs/0518_\347\274\226\350\276\221\345\206\205\345\256\271.png" "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\347\274\226\350\276\221\345\206\205\345\256\271.png" new file mode 100644 index 0000000000000000000000000000000000000000..8739c135e2a05e98f340372d0174b0b1f4c76585 Binary files /dev/null and "b/26\345\210\230\345\200\251\345\200\251/imgs/0518_\347\274\226\350\276\221\345\206\205\345\256\271.png" differ