会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
115
116
117
118
119
120
121
122
123
···
408
下一页
2023年6月16日
centos7 中 安装 epel-release
摘要: EPEL (Extra Packages for Enterprise Linux) 是一个由 Fedora 社区志愿者维护的软件包仓库,为 Red Hat Enterprise Linux (RHEL)、CentOS 和 Scientific Linux 等企业级Linux发行版提供额外的软件包。
阅读全文
posted @ 2023-06-16 22:18 小鲨鱼2018
阅读(1616)
评论(0)
推荐(0)
2023年6月15日
fatal: unable to access 'https://github.com/JiangYuLab/CNVcaller.git/': TCP connection r
摘要: 001、git clone报错 002、解决方法 进入github官网,搜索该项目 003、上传至linux、解压 [root@PC1 test2]# unzip CNVcaller-master.zip
阅读全文
posted @ 2023-06-15 22:02 小鲨鱼2018
阅读(46)
评论(0)
推荐(0)
linux 中配置 根据ssh链接下载 项目
摘要: 001、在linux终端生成公钥 [root@PC1 test2]# ssh-keygen -t rsa ## 一直回车 002、查看公钥 [root@PC1 test2]# cat ~/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCv
阅读全文
posted @ 2023-06-15 21:51 小鲨鱼2018
阅读(208)
评论(0)
推荐(0)
centos7 中 查看防火墙状态、开启、关闭防火墙
摘要: 001、查看防火墙状态 [root@PC1 test05]# systemctl status firewalld.service 002、关闭防火墙 [root@PC1 test05]# systemctl stop firewalld.service ## 关闭防火墙 [root@PC1 tes
阅读全文
posted @ 2023-06-15 21:11 小鲨鱼2018
阅读(561)
评论(0)
推荐(0)
linux 中利用while死循环输出指定目录的大小
摘要: 001、 [root@PC1 test2]# cat record.sh #!/bin/bash while : do du -sh ./ sleep 2 ## 每隔2秒输出指定目录的大小 done
阅读全文
posted @ 2023-06-15 00:38 小鲨鱼2018
阅读(27)
评论(0)
推荐(0)
linux 中根据变量是否为空为变量赋值
摘要: 001、当变量为空时,为变量赋值 [root@PC1 test2]# var bash: var: command not found... [root@PC1 test2]# echo $var [root@PC1 test2]# var=${var:-123456} ## 变量为空时,将变量的值
阅读全文
posted @ 2023-06-15 00:21 小鲨鱼2018
阅读(168)
评论(0)
推荐(0)
linux 中shell 终端关闭和开启回显功能
摘要: 001、关闭、开启回显功能 [root@PC1 test2]# seq 3 1 2 3 [root@PC1 test2]# stty -echo ## 关闭回显功能,关闭后在终端输入内容将不再显示 [root@PC1 test2]# 1 2 3, [root@PC1 test2]# [root@PC
阅读全文
posted @ 2023-06-15 00:12 小鲨鱼2018
阅读(2460)
评论(0)
推荐(0)
2023年6月12日
python 中格式化字符串
摘要: 001、format >>> "{0} love {1}.{2}".format("I", "FishC", "com") ## 位置参数 'I love FishC.com' >>> "{a} love {b}.{c}".format(a = "I", b = "FishC", c = "com"
阅读全文
posted @ 2023-06-12 23:34 小鲨鱼2018
阅读(15)
评论(0)
推荐(0)
python 中使用zip实现矩阵转置
摘要: 001、 [root@PC1 test04]# ls a.txt test.py [root@PC1 test04]# cat a.txt ## 测试数据 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
阅读全文
posted @ 2023-06-12 21:57 小鲨鱼2018
阅读(63)
评论(0)
推荐(0)
python中zip的用法
摘要: 001、 >>> a = [1, 2, 3] >>> b = [4, 5, 6] >>> c = [7, 8, 9, 10, 11] ## 测试列表 >>> list(zip(a,b)) [(1, 4), (2, 5), (3, 6)] >>> list(zip(a,c)) ## 返回列表元祖 [(
阅读全文
posted @ 2023-06-12 21:20 小鲨鱼2018
阅读(36)
评论(0)
推荐(0)
上一页
1
···
115
116
117
118
119
120
121
122
123
···
408
下一页
公告