From 78b3127c974a3407db84f3a8b3b940675ddf4ebf Mon Sep 17 00:00:00 2001 From: zhachry Date: Wed, 27 Oct 2021 07:49:32 +0000 Subject: [PATCH] =?UTF-8?q?add=20P42027-=E5=BC=A0=E9=9C=87.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "P42027-\345\274\240\351\234\207" | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 "P42027-\345\274\240\351\234\207" diff --git "a/P42027-\345\274\240\351\234\207" "b/P42027-\345\274\240\351\234\207" new file mode 100644 index 0000000..c5be4a1 --- /dev/null +++ "b/P42027-\345\274\240\351\234\207" @@ -0,0 +1,31 @@ +''' +通过本周的学习和自己查阅,你知道linux有哪些发行版本? +redhot5 ,centOS-7,centOS-8 +''' +''' +按以下需求写出以下操作对应的执行命令: +   a. 使用zhangsan用户通过ssh的22端口登录服务器192.168.139.100 + ssh zhangsan@192.168.139.100:22 +   b. 在系统根目录下创建目录 data + cd / + mkdir data +   c. 在data中新建a.sh 文件 + cd //data + touch a.sh +   d. 在a.sh 中写入内容echo "hello magedu" + echo "hello magedu" >> a.sh +   e. 查看文件内容 + cat a.sh +   f. 删除在 b 步骤中创建的 data 目录 + cd / + del data + ls +   g. 退出ssh登录 + quit +''' +''' +简要说明Python垃圾回收机制 +垃圾回收机制(简称GC)是python解释器自带的一种机制,专门用来回收不可用的变量值所占用的内存空间 +包含引用计数(当变量引用次数为0时回收),标记清除(无法取值但是相互引用引发内存泄露,需要清除绑定关系), +分带回收(在经历多次扫面的情况下,都没有被回收的变量,GC机制就会认为该变量是常用变量,GC对其扫描的频率就会降低) +''' \ No newline at end of file -- Gitee