上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 367 下一页
摘要: 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 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(228) 评论(0) 推荐(0) 编辑
摘要: map函数会根据提供的函数对指定的序列做映射。 第一个参数接受一个函数名,后面的参数接受一个或多个可迭代的序列,返回的是一个集合。 001、 >>> def fun01(x): ## 测试函数 ... return x * 100 ... >>> list1 = [8, 3, 2, 7] >>> > 阅读全文
posted @ 2023-10-04 14:40 小鲨鱼2018 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 正则表达式其本身就是一种小型的,高度专业化的编程语言。在Python中,它被内 嵌在了re模块里面,正则表达式模式被编译成一系列的字节码,然后由用C编写的匹 配引擎执行。 001、re.search a、 >>> re.search('www', 'www.runoob.com') ## 返回了匹配 阅读全文
posted @ 2023-10-04 10:09 小鲨鱼2018 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 001、问题 GPT官网无法打开, 如下: 002、 解决方法 参考: https://laowangblog.com/chatgpt-unable-to-load-site.html . 阅读全文
posted @ 2023-10-03 22:44 小鲨鱼2018 阅读(2008) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(41) 评论(0) 推荐(0) 编辑
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 367 下一页