From a74e77e68885335586127aa690d6b97554512e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=90=AF=E6=81=92?= <12073480+zhao-qiheng@user.noreply.gitee.com> Date: Wed, 15 May 2024 14:31:07 +0000 Subject: [PATCH 1/5] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E8=B5=B5=E5=90=AF?= =?UTF-8?q?=E6=81=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\350\265\265\345\220\257\346\201\222/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\350\265\265\345\220\257\346\201\222/.keep" diff --git "a/\350\265\265\345\220\257\346\201\222/.keep" "b/\350\265\265\345\220\257\346\201\222/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 081740a866a3b7aca065002a065a4345b29ceea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=90=AF=E6=81=92?= <12073480+zhao-qiheng@user.noreply.gitee.com> Date: Mon, 20 May 2024 13:09:08 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E8=B5=B5=E5=90=AF=E6=81=92/.keep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\350\265\265\345\220\257\346\201\222/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 "\350\265\265\345\220\257\346\201\222/.keep" diff --git "a/\350\265\265\345\220\257\346\201\222/.keep" "b/\350\265\265\345\220\257\346\201\222/.keep" deleted file mode 100644 index e69de29..0000000 -- Gitee From 6da5c7b78c6fe9f072125c1125d101c022bfcdba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=90=AF=E6=81=92?= <12073480+zhao-qiheng@user.noreply.gitee.com> Date: Mon, 20 May 2024 13:10:25 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E8=B5=B5=E5=90=AF?= =?UTF-8?q?=E6=81=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\350\265\265\345\220\257\346\201\222/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\350\265\265\345\220\257\346\201\222/.keep" diff --git "a/\350\265\265\345\220\257\346\201\222/.keep" "b/\350\265\265\345\220\257\346\201\222/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 2ee3cc9ec04804f69c8688be66ad8b3ff3f79cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=90=AF=E6=81=92?= <12073480+zhao-qiheng@user.noreply.gitee.com> Date: Mon, 20 May 2024 13:11:02 +0000 Subject: [PATCH 4/5] =?UTF-8?q?=E8=B5=B5=E5=90=AF=E6=81=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 赵启恒 <12073480+zhao-qiheng@user.noreply.gitee.com> --- .../\345\210\235\350\257\206linnux.md" | 52 ++++++ ...72\346\234\254\347\233\256\345\275\225.md" | 150 ++++++++++++++++++ .../\347\273\203\344\271\240.md" | 62 ++++++++ 3 files changed, 264 insertions(+) create mode 100644 "\350\265\265\345\220\257\346\201\222/\345\210\235\350\257\206linnux.md" create mode 100644 "\350\265\265\345\220\257\346\201\222/\345\237\272\346\234\254\347\233\256\345\275\225.md" create mode 100644 "\350\265\265\345\220\257\346\201\222/\347\273\203\344\271\240.md" diff --git "a/\350\265\265\345\220\257\346\201\222/\345\210\235\350\257\206linnux.md" "b/\350\265\265\345\220\257\346\201\222/\345\210\235\350\257\206linnux.md" new file mode 100644 index 0000000..3579277 --- /dev/null +++ "b/\350\265\265\345\220\257\346\201\222/\345\210\235\350\257\206linnux.md" @@ -0,0 +1,52 @@ +| linux | | | +| ----- | ------------------------------------------------------------ | ---------------------------------------------- | +| | [2](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_2) | | +| | [3](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_3) | 一种操作系统内核,有centos,debian,redhat等。 | +| | [4](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_4) | | +| | [5](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_5) | ## 安装 | +| | [6](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_6) | | +| | [7](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_7) | 安装vm17,安装debian iso文件。 | +| | [8](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_8) | | +| | [9](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_9) | ## 命令 | +| | [10](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_10) | | +| | [11](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_11) | ### 查看ip地址: | +| | [12](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_12) | | +| | [13](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_13) | 第一种:ip addr show | +| | [14](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_14) | | +| | [15](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_15) | 第二种: | +| | [16](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_16) | | +| | [17](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_17) | apt-get update | +| | [18](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_18) | | +| | [19](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_19) | apt-get install net-tools | +| | [20](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_20) | | +| | [21](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_21) | ifconfig | +| | [22](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_22) | | +| | [23](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_23) | ### ssh: | +| | [24](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_24) | | +| | [25](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_25) | apt-get install ssh | +| | [26](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_26) | | +| | [27](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_27) | apt-get install vim | +| | [28](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_28) | | +| | [29](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_29) | vim /etc/ssh/sshd_config | +| | [30](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_30) | | +| | [31](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_31) | port 22 打开端口 | +| | [32](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_32) | | +| | [33](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_33) | permitrootlogin yes 启用root登录 | +| | [34](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_34) | | +| | [35](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_35) | passwordauthentication yes 验证密码 | +| | [36](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_36) | | +| | [37](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_37) | permitemptypasswords no 禁止使用空密码登录 | +| | [38](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_38) | | +| | [39](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_39) | /etc/init.d/ssh restart | +| | [40](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_40) | | +| | [41](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_41) | ### sudo: | +| | [42](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_42) | | +| | [43](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_43) | su root 更换给root模式 | +| | [44](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_44) | | +| | [45](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_45) | apt-get install sudo | +| | [46](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_46) | | +| | [47](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_47) | sudo vim /etc/sudoers | +| | [48](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_48) | | +| | [49](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_49) | root all=(all:all) all | +| | [50](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_50) | | +| | [51](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#1630a8d33af83634aaef394b9fd23061729e05f4_0_51) | 用户名 all=(all:all) all 添加用户名 | \ No newline at end of file diff --git "a/\350\265\265\345\220\257\346\201\222/\345\237\272\346\234\254\347\233\256\345\275\225.md" "b/\350\265\265\345\220\257\346\201\222/\345\237\272\346\234\254\347\233\256\345\275\225.md" new file mode 100644 index 0000000..eb96367 --- /dev/null +++ "b/\350\265\265\345\220\257\346\201\222/\345\237\272\346\234\254\347\233\256\345\275\225.md" @@ -0,0 +1,150 @@ +16. + +| # 目录 | | 基本目录 | +| ------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| | [2](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_2) | | +| | [3](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_3) | ## / | +| | [4](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_4) | | +| | [5](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_5) | 根目录。 | +| | [6](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_6) | | +| | [7](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_7) | ## /bin | +| | [8](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_8) | | +| | [9](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_9) | binary,可执行文件。存放常用的基本命令。 | +| | [10](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_10) | | +| | [11](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_11) | ## /boot | +| | [12](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_12) | | +| | [13](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_13) | 引导加载程序和内核文件。 | +| | [14](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_14) | | +| | [15](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_15) | ## /dev | +| | [16](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_16) | | +| | [17](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_17) | 设备文件。 | +| | [18](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_18) | | +| | [19](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_19) | 例如:/dev/sda 硬盘设备文件 /dev/ttyUSB0 USB串行设备文件 | +| | [20](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_20) | | +| | [21](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_21) | ## /etc | +| | [22](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_22) | | +| | [23](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_23) | 配置文件。包括网络配置,Nginx,ssh等。 | +| | [24](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_24) | | +| | [25](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_25) | ## /home | +| | [26](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_26) | | +| | [27](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_27) | 普通用户的家目录。 | +| | [28](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_28) | | +| | [29](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_29) | ## /lib | +| | [30](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_30) | | +| | [31](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_31) | 系统共享库文件。 | +| | [32](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_32) | | +| | [33](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_33) | ## /media | +| | [34](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_34) | | +| | [35](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_35) | 可移动介质的挂载点。usb或者cdrom。 | +| | [36](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_36) | | +| | [37](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_37) | ## /mnt | +| | [38](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_38) | | +| | [39](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_39) | 手动挂载临时文件系统。 | +| | [40](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_40) | | +| | [41](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_41) | ## /opt | +| | [42](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_42) | | +| | [43](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_43) | 第三方软件包安装目录。 | +| | [44](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_44) | | +| | [45](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_45) | ## /proc | +| | [46](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_46) | | +| | [47](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_47) | 虚拟文件,有系统和运行进程的信息。例如cpu,内存。 | +| | [48](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_48) | | +| | [49](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_49) | ## /root | +| | [50](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_50) | | +| | [51](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_51) | root用户的家目录。 | +| | [52](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_52) | | +| | [53](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_53) | ## /run | +| | [54](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_54) | | +| | [55](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_55) | 运行时的临时文件目录。 | +| | [56](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_56) | | +| | [57](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_57) | ## /sbin | +| | [58](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_58) | | +| | [59](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_59) | root才能操作的系统管理命令。 | +| | [60](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_60) | | +| | [61](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_61) | ## /srv | +| | [62](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_62) | | +| | [63](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_63) | 服务的数据目录。 | +| | [64](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_64) | | +| | [65](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_65) | ## /sys | +| | [66](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_66) | | +| | [67](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_67) | 虚拟文件系统。有关硬件的,例如网卡。 | +| | [68](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_68) | | +| | [69](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_69) | ## /tmp | +| | [70](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_70) | | +| | [71](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_71) | 临时文件目录。 | +| | [72](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_72) | | +| | [73](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_73) | ## /usr | +| | [74](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_74) | | +| | [75](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_75) | 用户安装的程序和文件。 | +| | [76](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_76) | | +| | [77](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_77) | ## /var | +| | [78](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_78) | | +| | [79](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_79) | 日志文件缓存文件等经常变化的文件。 | +| | [80](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_80) | | +| | [81](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_81) | # 命令 | +| | [82](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_82) | | +| | [83](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_83) | 人类通过终端控制硬件,linux默认使用的终端是bash。shell与bash是包含与被包含的关系。 | +| | [84](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_84) | | +| | [85](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_85) | 优势: | +| | [86](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_86) | | +| | [87](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_87) | 通过上下方向键调取执行过的Linux命令。 | +| | [88](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_88) | | +| | [89](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_89) | 命令或参数仅需输入前几位就可以用tab补全。 | +| | [90](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_90) | | +| | [91](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_91) | ## 命令格式 | +| | [92](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_92) | | +| | [93](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_93) | 命令名称 [命令选项] [命令参数] | +| | [94](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_94) | | +| | [95](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_95) | 命令名称:想要做的事情,例如创建,查看等。 | +| | [96](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_96) | | +| | [97](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_97) | 命令选项:对命令进行调整,例如-l,-a等。 | +| | [98](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_98) | | +| | [99](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_99) | 命令参数:指要处理的文件,目录等。 | +| | [100](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_100) | | +| | [101](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_101) | 命令选项的长短格式: | +| | [102](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_102) | | +| | [103](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_103) | --help 长 -- | +| | [104](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_104) | | +| | [105](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_105) | -h 短 - | +| | [106](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_106) | | +| | [107](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_107) | 例如: | +| | [108](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_108) | | +| | [109](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_109) | 列出目录内容:ls -l /home/debian1ban | +| | [110](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_110) | | +| | [111](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_111) | ls是命令,-l是选项,/home/user是参数 | +| | [112](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_112) | | +| | [113](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_113) | 复制文件:cp debian.txt dabian.txt | +| | [114](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_114) | | +| | [115](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_115) | cp是命令,debian.txt,dabian.txt是参数 | +| | [116](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_116) | | +| | [117](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_117) | ## man | +| | [118](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_118) | | +| | [119](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_119) | man命令是用来访问unix/linux手册页的。手册页系统命令、函数、库调用等的文档,提供了关于如何使用这些命令和功能的详细信息。 | +| | [120](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_120) | | +| | [121](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_121) | 如何使用: | +| | [122](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_122) | | +| | [123](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_123) | 查看ls命令的手册页:man ls | +| | [124](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_124) | | +| | [125](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_125) | 运行后会看到: | +| | [126](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_126) | | +| | [127](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_127) | name 简要描述了命令或函数。 | +| | [128](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_128) | | +| | [129](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_129) | synopsis 展示了命令的基本用法和语法。 | +| | [130](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_130) | | +| | [131](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_131) | description 详细描述了命令或函数的功能。 | +| | [132](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_132) | | +| | [133](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_133) | option 列出了命令或函数的可用选项。 | +| | [134](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_134) | | +| | [135](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_135) | examples 给出使用的示例。 | +| | [136](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_136) | | +| | [137](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_137) | see also 列出其他。 | +| | [138](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_138) | | +| | [139](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_139) | ## 快捷键 | +| | [140](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_140) | | +| | [141](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_141) | tab 补全命令。 | +| | [142](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_142) | | +| | [143](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_143) | ctrl+c 终止当前进程的运行。 | +| | [144](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_144) | | +| | [145](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_145) | ctrl+d 键盘输入结束。 | +| | [146](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_146) | | +| | [147](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#95cac3c5ca68fceb36e426002776aff83eb4c2da_0_147) | ctrl+l 清屏。 | \ No newline at end of file diff --git "a/\350\265\265\345\220\257\346\201\222/\347\273\203\344\271\240.md" "b/\350\265\265\345\220\257\346\201\222/\347\273\203\344\271\240.md" new file mode 100644 index 0000000..8c2c042 --- /dev/null +++ "b/\350\265\265\345\220\257\346\201\222/\347\273\203\344\271\240.md" @@ -0,0 +1,62 @@ +| 新建一个用户,密码设置 | | | +| ---------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| | [2](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_2) | | +| | [3](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_3) | ```bash | +| | [4](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_4) | sudo adduser 用户名 | +| | [5](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_5) | | +| | [6](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_6) | | +| | [7](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_7) | ``` | +| | [8](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_8) | | +| | [9](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_9) | 2. 以刚建的用户登录,操作以下 | +| | [10](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_10) | | +| | [11](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_11) | ```bash | +| | [12](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_12) | su - 用户名 su - sx -是将环境变量一起切换 | +| | [13](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_13) | ``` | +| | [14](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_14) | | +| | [15](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_15) | 3. 使用命令,在自己的家目录,以以下层次依次建立文件夹 | +| | [16](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_16) | | +| | [17](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_17) | 1. 国家 | +| | [18](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_18) | 1. 省份 | +| | [19](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_19) | 1. 市 | +| | [20](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_20) | 1. 县(区) | +| | [21](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_21) | 1. 镇(街道) | +| | [22](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_22) | 1. 村(小区) | +| | [23](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_23) | 1. 姓名 | +| | [24](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_24) | | +| | [25](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_25) | 进入家目录 | +| | [26](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_26) | cd /home | +| | [27](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_27) | sudo mkdir China 进入普通模式 | +| | [28](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_28) | sudo mkdir -p China/世界/米国/奥地利/法国陈冠希 | +| | [29](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_29) | ``` | +| | [30](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_30) | | +| | [31](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_31) | 4. 在姓名文件夹,建立一个自己的学号文件 | +| | [32](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_32) | | +| | [33](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_33) | ```bash | +| | [34](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_34) | sudo touch 2244310333.txt | +| | [35](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_35) | ``` | +| | [36](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_36) | touch 文本名字 创建文本 .txt格式 | +| | [37](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_37) | i 进入编辑模式 编辑完成 wq 退出并且保存 | +| | [38](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_38) | 在这个文件中,写一篇不少于400字的日记 | +| | [39](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_39) | ` | +| | [40](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_40) | | +| | [41](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_41) | ``` | +| | [42](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_42) | | +| | [43](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_43) | 6. 最后,将国家这个文件夹打包,同时练习怎么解压 | +| | [44](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_44) | | +| | [45](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_45) | ```bash | +| | [46](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_46) | cd /home/sx | +| | [47](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_47) | tar -cvf China.tar China/ | +| | [48](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_48) | ``` | +| | [49](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_49) | | +| | [50](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_50) | 7. 使用命令将这个压缩包下载到本地电脑【不能用shell里自带的下载功能】 | +| | [51](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_51) | | +| | [52](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_52) | ```bash | +| | [53](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_53) | sudo apt-get install lrzsz 安装lrzsz sz 发送 rz 接收 | +| | [54](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_54) | sz China.tar 将压缩包下载到本地电脑 | +| | [55](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_55) | ``` | +| | [56](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_56) | | +| | [57](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_57) | 8. 相关命令百度预习 | +| | [58](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_58) | | +| | [59](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_59) | 9. 命令参考 https://www.linuxcool.com/ | +| | [60](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_60) | | +| | [61](https://gitee.com/implementation-level-22_2/linux-fundamentals/pulls/75/files#023c72c3149a5a1306d5e5f91c40e9c3afa2fd24_0_61) | 10. 相关过程,做成笔记 | \ No newline at end of file -- Gitee From e105cf94485d132e7a41bd1ecd7ba3277b0145ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=90=AF=E6=81=92?= <12073480+zhao-qiheng@user.noreply.gitee.com> Date: Tue, 21 May 2024 15:41:41 +0000 Subject: [PATCH 5/5] =?UTF-8?q?=E8=B5=B5=E5=90=AF=E6=81=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 赵启恒 <12073480+zhao-qiheng@user.noreply.gitee.com> --- ...04\344\271\240\344\275\234\344\270\232.md" | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 "\350\265\265\345\220\257\346\201\222/\345\256\236\346\226\2751 \346\226\207\344\273\266\345\244\271\345\217\212\346\226\207\344\273\266\347\256\241\347\220\206\347\232\204\351\242\204\344\271\240\344\275\234\344\270\232.md" diff --git "a/\350\265\265\345\220\257\346\201\222/\345\256\236\346\226\2751 \346\226\207\344\273\266\345\244\271\345\217\212\346\226\207\344\273\266\347\256\241\347\220\206\347\232\204\351\242\204\344\271\240\344\275\234\344\270\232.md" "b/\350\265\265\345\220\257\346\201\222/\345\256\236\346\226\2751 \346\226\207\344\273\266\345\244\271\345\217\212\346\226\207\344\273\266\347\256\241\347\220\206\347\232\204\351\242\204\344\271\240\344\275\234\344\270\232.md" new file mode 100644 index 0000000..a6b6d2b --- /dev/null +++ "b/\350\265\265\345\220\257\346\201\222/\345\256\236\346\226\2751 \346\226\207\344\273\266\345\244\271\345\217\212\346\226\207\344\273\266\347\256\241\347\220\206\347\232\204\351\242\204\344\271\240\344\275\234\344\270\232.md" @@ -0,0 +1,63 @@ +1. ### 综合练习题:大学生生活场景中的文件夹和文件管理 + + 假设你是一名大学生,现在面临着整理学习资料和课程作业的任务。请按照以下要求完成相关的文件夹和文件管理操作: + + 1. 在你的个人文档目录下创建一个名为`学习资料`的文件夹,并进入该文件夹。 + + mkdir 学习资料 cd 学习资料 + + 2. 在`学习资料`文件夹中创建一个名为`计算机科学`的文件夹。 + + mkdir 计算机科学 cd 计算机科学 + + 3. 在`计算机科学`文件夹中创建两个子文件夹,分别命名为`课程资料`和`编程项目`。 + + mkdir 课程资料 + + cd 计算机科学 + + mkdir 编程项目 + + 4. 将你最近的一门计算机科学课程的课件文件(假设文件名为`CS101_第一讲.pdf`)放入`课程资料`文件夹。 + + cd 课程资料 touch CS101_第一讲.pdf + + 5. 在`编程项目`文件夹中创建一个名为`Java项目`的文件夹。 + + cd 编程项目 mkdir Java项目 + + 6. 在`Java项目`文件夹中创建两个空文件,分别命名为`主程序.java`和`工具类.java`。 + + cd Java项目 + + touch 主程序.java + + touch 工具类.java + + 7. 复制`主程序.java`并命名为`备份_主程序.java`。 + + cd 主程序.java + + cp 主程序.java 备份_主程序.java + + 8. 创建一个名为`Python项目`的文件夹,并将`工具类.java`移动到`Python项目`文件夹中。 + + 创建文件 mkdir Python + + 转移:mv 工具类.java /home/pw/学习资料/计算机科学/编程项目/Python + + 9. 列出`计算机科学`文件夹中所有文件和文件夹的内容。 + + ls 计算机科学 就可以知道里边的详细内容 + + 10. 删除`编程项目`文件夹及其包含的所有内容。 + + 11. rm -rf 编程项目 就可以删除所有的东西 + + 12. 重命名`Python项目`为`数据分析项目`。 + + 13. mv Python 数据分析项目 ok了! + + 14. 最后,列出当前所在目录的路径。 + + pwd 就可以显示目录和路径 \ No newline at end of file -- Gitee