摘要: 001、git clone报错 002、解决方法 进入github官网,搜索该项目 003、上传至linux、解压 [root@PC1 test2]# unzip CNVcaller-master.zip 阅读全文
posted @ 2023-06-15 22:02 小鲨鱼2018 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test2]# cat record.sh #!/bin/bash while : do du -sh ./ sleep 2 ## 每隔2秒输出指定目录的大小 done 阅读全文
posted @ 2023-06-15 00:38 小鲨鱼2018 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1531) 评论(0) 推荐(0) 编辑