会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
86
87
88
89
90
91
92
93
94
···
407
下一页
2023年10月5日
centos7 中 用户名和主机名消失,显示-bash-4.2解决方法
摘要: 001、问题,centos7中中用户名和主机名消失,显示-bash-4.2,如下: -bash-4.2$ 002、产生原因 配置文件丢失或意外删除。 003、解决方法1 -bash-4.2$ echo "export PS1='[\u@\h \W]\$'" >> ~/.bash_profile -b
阅读全文
posted @ 2023-10-05 14:00 小鲨鱼2018
阅读(809)
评论(1)
推荐(0)
2023年10月4日
linux 中设置用户间针对单一目录的权限
摘要: 001、 创建两个测试用户 [root@pc1 home]# ls [root@pc1 home]# useradd user01 ## 创建两个测试用户 [root@pc1 home]# useradd user02 [root@pc1 home]# echo tmppasswd | passwd
阅读全文
posted @ 2023-10-04 16:33 小鲨鱼2018
阅读(573)
评论(0)
推荐(0)
python 中map函数
摘要: map函数会根据提供的函数对指定的序列做映射。 第一个参数接受一个函数名,后面的参数接受一个或多个可迭代的序列,返回的是一个集合。 001、 >>> def fun01(x): ## 测试函数 ... return x * 100 ... >>> list1 = [8, 3, 2, 7] >>> >
阅读全文
posted @ 2023-10-04 14:40 小鲨鱼2018
阅读(140)
评论(0)
推荐(0)
samtools线程数对 sam文件转换为bam文件效率的影响
摘要: 001、 (base) [b20223040323@admin1 batch_test02]$ ls ## 测试模板、测试sam文件 template.slurm test.sam (base) [b20223040323@admin1 batch_test02]$ cat template.slu
阅读全文
posted @ 2023-10-04 12:08 小鲨鱼2018
阅读(355)
评论(0)
推荐(0)
bwa 线程数目对比对速度的影响
摘要: 001、测试条件 (base) [b20223040323@admin1 batch_test]$ ls SRR10083583_trim_1P.fastq.gz SRR10083583_trim_2P.fastq.gz template.slurm (base) [b20223040323@adm
阅读全文
posted @ 2023-10-04 11:30 小鲨鱼2018
阅读(188)
评论(0)
推荐(0)
python 中 re模块
摘要: 正则表达式其本身就是一种小型的,高度专业化的编程语言。在Python中,它被内 嵌在了re模块里面,正则表达式模式被编译成一系列的字节码,然后由用C编写的匹 配引擎执行。 001、re.search a、 >>> re.search('www', 'www.runoob.com') ## 返回了匹配
阅读全文
posted @ 2023-10-04 10:09 小鲨鱼2018
阅读(45)
评论(0)
推荐(0)
2023年10月3日
Unable to load site GPT
摘要: 001、问题 GPT官网无法打开, 如下: 002、 解决方法 参考: https://laowangblog.com/chatgpt-unable-to-load-site.html .
阅读全文
posted @ 2023-10-03 22:44 小鲨鱼2018
阅读(3408)
评论(0)
推荐(0)
2023年10月2日
linux 中export对变量的作用
摘要: 001、 (base) [root@pc1 test]# ls (base) [root@pc1 test]# echo $a ## 测试变量a和b (base) [root@pc1 test]# echo $b (base) [root@pc1 test]# export a=10000 ## a
阅读全文
posted @ 2023-10-02 00:01 小鲨鱼2018
阅读(22)
评论(0)
推荐(0)
2023年10月1日
linux 中 tr -dc 命令
摘要: 001、tr -dc string: 表示删除字符以外(补集complement)的所有字符 [root@pc1 test]# ls a.txt [root@pc1 test]# cat a.txt ## 测试文本 01 02 abd ef 03jkk. 04, f 05 f 06 [root@pc
阅读全文
posted @ 2023-10-01 23:16 小鲨鱼2018
阅读(381)
评论(0)
推荐(0)
linux 中实现将目录中的文件仅显示大小和文件名
摘要: 001、 [root@pc1 test]# ls ## 测试文件 a.txt b.txt [root@pc1 test]# ll -h total 110M -rw-r--r--. 1 root root 10M Oct 1 22:13 a.txt -rw-r--r--. 1 root root 1
阅读全文
posted @ 2023-10-01 22:25 小鲨鱼2018
阅读(64)
评论(0)
推荐(0)
上一页
1
···
86
87
88
89
90
91
92
93
94
···
407
下一页
公告