上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 56 下一页

2019年10月23日

摘要: 1.find查找文件的路径 根据文件名查找:find /home/qiao/ -name rgcn.py 根据文件所有者查找:find /home/qiao -user xm 根据文件大小查找: find /home/qiao -size +20M 2. locate locate指令基于数据库查询 阅读全文
posted @ 2019-10-23 15:33 happygril3 阅读(300) 评论(0) 推荐(0)

2019年10月22日

摘要: 1.查看命令是内部命令还是外部命令 type + 命令 type cd --cd is a shell builtin type du --du is hashed (/usr/bin/du) 1. help --内部命令 help cd 2.man--外部命令/配置文件 man du man -5 阅读全文
posted @ 2019-10-22 19:14 happygril3 阅读(121) 评论(0) 推荐(0)
摘要: 1.创建 touch test.txt 创建文件 mkdir test 创建目录 echo " " >>test.txt 创建文件 2. 查看 2.1. 查看全部 cat test.txt 2.2. 查看前几行 head -n 10 test.txt 2.3. 查看最后几行 tail -n 10 t 阅读全文
posted @ 2019-10-22 18:57 happygril3 阅读(101) 评论(0) 推荐(0)

2019年10月21日

摘要: 1.gitlab 创建project ,命名为test2 2.git push项目 git remote add ******* mkdir test1 cd test1 git init nano test1.txt --1111 git add test1.txt git commit -m " 阅读全文
posted @ 2019-10-21 17:49 happygril3 阅读(111) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-10-21 15:46 happygril3 阅读(72) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-10-21 11:40 happygril3 阅读(90) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-10-21 11:26 happygril3 阅读(78) 评论(0) 推荐(0)

2019年10月18日

摘要: --同步:按顺序执行完成--时间长 --异步:确保进程迟数量,不按顺序执行--时间短 同步执行结果: 主进程开始执行>>> pid=10044子进程开始执行>>>pid=12744,ppid=10044,编号0子进程终止>>>pid=12744,ppid=10044,编号0子进程开始执行>>>pid 阅读全文
posted @ 2019-10-18 11:01 happygril3 阅读(125) 评论(0) 推荐(0)
摘要: 使用multiprocessing模块: 派生Process的子类,重写run方法 主进程开始>>>pid=15828子进程开始>>>pid=13000,ppid=15828子进程开始>>>pid=15324,ppid=15828子进程终止>>>pid=13000子进程终止>>>pid=15324主 阅读全文
posted @ 2019-10-18 10:56 happygril3 阅读(98) 评论(0) 推荐(0)
摘要: 使用multiprocessing模块: 创建Process的实例,传入任务执行函数作为参数 """Process常用属性与方法: name:进程名 pid:进程id run(),自定义子类时覆写 start(),开启进程 join(timeout=None),阻塞进程 terminate(),终止 阅读全文
posted @ 2019-10-18 10:52 happygril3 阅读(181) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 56 下一页

导航