12 2023 档案

摘要:001、输出字符串 [root@pc1 test1]# ls [root@pc1 test1]# printf "hello world\n" ## 方法一 hello world [root@pc1 test1]# printf "%s\n" "hello world" ## 方法二 hello 阅读全文
posted @ 2023-12-31 22:05 小鲨鱼2018 阅读(94) 评论(0) 推荐(0) 编辑
摘要:001、测试数据 [root@pc1 test1]# ls a.txt [root@pc1 test1]# cat a.txt ## 测试数据 d_j j k d d_kk 002、不指定分隔符 [root@pc1 test1]# ls a.txt [root@pc1 test1]# cat a.t 阅读全文
posted @ 2023-12-31 21:29 小鲨鱼2018 阅读(1436) 评论(0) 推荐(0) 编辑
摘要:001、paste [root@pc1 test1]# ls a.txt b.txt [root@pc1 test1]# cat a.txt ## 测试文件 01 02 03 04 05 06 07 08 09 10 [root@pc1 test1]# cat b.txt ## 测试文件 1 2 [ 阅读全文
posted @ 2023-12-31 18:07 小鲨鱼2018 阅读(35) 评论(0) 推荐(0) 编辑
摘要:001、gemma软件编译安装报错如下: src/gemma.cpp:79:10: fatal error: openblas_config.h: No such file or directory 002、解决方法 阅读全文
posted @ 2023-12-31 16:44 小鲨鱼2018 阅读(38) 评论(0) 推荐(0) 编辑
摘要:001、问题,gemma编译, make报错如下: src/mathfunc.h:34:18: error: call of overloaded ‘isnan(double&)’ is ambiguous 002、感觉像是c++编译器版本低的问题,升级gcc编辑器 a、 yum -y instal 阅读全文
posted @ 2023-12-31 10:11 小鲨鱼2018 阅读(32) 评论(0) 推荐(0) 编辑
摘要:01、 PD(待定): pending;表示在排队 02、CF(配置):configurating 03、R(运行):running 04、CG(完): 表示正在退出 05、CA(取消) 06、S:管理员正在挂起。 阅读全文
posted @ 2023-12-31 00:22 小鲨鱼2018 阅读(2084) 评论(0) 推荐(1) 编辑
摘要:001、设置文件不能被修改,同时也不能删除给文件: chattr +i file a、修改 [root@pc1 test]# ls a.txt [root@pc1 test]# lsattr a.txt ## 查看隐藏属性无 a.txt [root@pc1 test]# chattr +i a.tx 阅读全文
posted @ 2023-12-31 00:15 小鲨鱼2018 阅读(206) 评论(0) 推荐(0) 编辑
摘要:001、id + 用户名 [root@pc1 ~]# id liujiaxin01 ## 查看用户liujiaxin01的用户信息 uid=1000(liujiaxin01) gid=1000(liujiaxin01) groups=1000(liujiaxin01) [root@pc1 ~]# i 阅读全文
posted @ 2023-12-30 20:25 小鲨鱼2018 阅读(72) 评论(0) 推荐(0) 编辑
摘要:001、 [root@pc1 test1]# ll -h ## ll -h命令或者 ls -l命令 total 20M -rw-rw-r--. 2 root root 6.6M Dec 30 17:52 a.txt -rw-r--r--. 1 root root 6.6M Dec 30 17:53 阅读全文
posted @ 2023-12-30 18:08 小鲨鱼2018 阅读(428) 评论(0) 推荐(0) 编辑
摘要:粘滞位权限确保文件只能被文件的所有者(或者root用户)删除而不能被其他用户删除。linux系统中根目录下/tmp/默认设置了粘滞位权限。 001、设置粘滞位权限之前 [root@pc1 /]# pwd ## 当前目录 / [root@pc1 /]# whoami ## 当前用户 root [roo 阅读全文
posted @ 2023-12-30 17:42 小鲨鱼2018 阅读(434) 评论(0) 推荐(0) 编辑
摘要:001、 centos7 中根目录下各级目录 [root@pc1 /]# ls bin dev home lib64 mnt proc run srv tmp var boot etc lib media opt root sbin sys usr [root@pc1 /]# ll -h total 阅读全文
posted @ 2023-12-30 17:39 小鲨鱼2018 阅读(18) 评论(0) 推荐(0) 编辑
摘要:001、普通用户一般没有sudo权限 [zhangsan01@pc1 ~]$ ls [zhangsan01@pc1 ~]$ yum install httpd ## 直接无法调用yum仓库 Loaded plugins: fastestmirror, langpacks You need to be 阅读全文
posted @ 2023-12-30 16:07 小鲨鱼2018 阅读(1282) 评论(0) 推荐(0) 编辑
摘要:对用户名进行修改需要root权限或者普通用户的sudo权限。 001、对用户user01进行测试 [root@pc1 home]# pwd /home [root@pc1 home]# ls ## 用户user01 liujiaxin01 software user01 user02 [root@p 阅读全文
posted @ 2023-12-30 11:48 小鲨鱼2018 阅读(428) 评论(0) 推荐(0) 编辑
摘要:linux 中 ls -F选项,F表示文件类型。 文件末尾追加*表示是可执行文件; 文件末尾/表示是目录 文件末尾是@表示是软链接文件 001、 [root@pc1 test]# ls ## 测试目录 a.txt b.txt dir1 dir2 dir3 dir4 file1 file2 file3 阅读全文
posted @ 2023-12-30 11:03 小鲨鱼2018 阅读(237) 评论(0) 推荐(0) 编辑
摘要:linux chown命令用于改变文件或者目录的所有者或者所属组。 001、改变所有者需要具备root权限,普通用户无法修改 [user01@pc1 test1]$ ls a.txt [user01@pc1 test1]$ ll -h ## 文件的所有者为user01 total 109M -rw- 阅读全文
posted @ 2023-12-30 10:42 小鲨鱼2018 阅读(194) 评论(0) 推荐(0) 编辑
摘要:001、借助ls -F [root@pc1 test1]# ls aaa a.txt bbb b.txt c.txt ddd dir01 dir02 d.txt [root@pc1 test1]# ll -h ## 测试目录 total 16K lrwxrwxrwx. 1 root root 5 D 阅读全文
posted @ 2023-12-30 10:41 小鲨鱼2018 阅读(25) 评论(0) 推荐(0) 编辑
摘要:001、测试目录如下,分别包含目录、文件 [root@pc1 test]# ls ## 测试目录 dir1 dir2 dir3 dir4 file1 file2 file3 file4 002、仅对目录进行迭代 a、 [root@pc1 test]# ls ## 测试目录 dir1 dir2 dir 阅读全文
posted @ 2023-12-30 10:39 小鲨鱼2018 阅读(8) 评论(0) 推荐(0) 编辑
摘要:001、背景 两个测试用户分别是: user01 user02 目标:实现user01家目录下一共 有两个目录dir1和dir2; 实现user01家目录下的dir1对用户user02单独开放读写执行的权限。 002、测试未开放前user01下的dir1和dir2对用户user02是否有权限 [us 阅读全文
posted @ 2023-12-29 23:31 小鲨鱼2018 阅读(1202) 评论(0) 推荐(0) 编辑
摘要:001、测试数据, awk实现 [root@pc1 test]# ls a.txt [root@pc1 test]# 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 2 阅读全文
posted @ 2023-12-29 21:46 小鲨鱼2018 阅读(169) 评论(0) 推荐(0) 编辑
摘要:001、压缩为gz文件,同时保留源文件 [root@pc1 test]# ls a.txt [root@pc1 test]# gzip -c a.txt > a.txt.gz ## 压缩文件,同时保留源文件 [root@pc1 test]# ls a.txt a.txt.gz 002、 解压缩gz文 阅读全文
posted @ 2023-12-29 17:32 小鲨鱼2018 阅读(1082) 评论(0) 推荐(0) 编辑
摘要:001、 。 阅读全文
posted @ 2023-12-29 11:55 小鲨鱼2018 阅读(15) 评论(0) 推荐(0) 编辑
摘要:001、选择指数 。 阅读全文
posted @ 2023-12-28 22:41 小鲨鱼2018 阅读(7) 评论(0) 推荐(0) 编辑
摘要:001、 。 阅读全文
posted @ 2023-12-28 17:05 小鲨鱼2018 阅读(21) 评论(0) 推荐(0) 编辑
摘要:01、blup:求解混合线性方程组,计算加性效应方差组分。 02、贝叶斯:对标记的假设不同,a、b、c、π等。 03、机器学习:非参数估计方法,学习表型和基因型的关系。 高效表型智能化表型测定技术 + 机器学习。 阅读全文
posted @ 2023-12-27 17:02 小鲨鱼2018 阅读(22) 评论(0) 推荐(0) 编辑
摘要:001、报错记录 合并gvcf使用脚本如下: gatk CombineGVCFs -R GCF_001704415.2_ARS1.2_genomic.fna --variant gvcf.list -O test.g.vcf.gz 报错如下: 002、解决方法,设置内存上限可以解决上述报错: gat 阅读全文
posted @ 2023-12-24 18:06 小鲨鱼2018 阅读(48) 评论(0) 推荐(0) 编辑
摘要:001、服务器(server) 01、服务器是一台独立的计算机或计算机系统(物理设备), 也可以是虚拟机或容器等虚拟化技术创建的逻辑实体, 用于提供特定的服务或功能。 02、服务器负责处理客户端的请求,并提供所需的服务,如网站托管、数据库存储、文件共享等。 03、服务器通常作为单个实体运行,具有自己 阅读全文
posted @ 2023-12-24 17:07 小鲨鱼2018 阅读(105) 评论(0) 推荐(0) 编辑
摘要:001、\<或者\b限制词首 [root@pc1 test]# ls a.txt [root@pc1 test]# cat a.txt ## 测试数据 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 13783120433 16 17 18 19 20 21 阅读全文
posted @ 2023-12-24 11:40 小鲨鱼2018 阅读(27) 评论(0) 推荐(0) 编辑
摘要:001、测试数据,,匹配末尾为_一个数字的数据 [root@pc1 test2]# ls a.txt [root@pc1 test2]# cat a.txt ## 测试数据 NC_052532.1 tRNAscan-SE TRNAD-GUC_1 NC_052532.1 tRNAscan-SE TRN 阅读全文
posted @ 2023-12-24 10:19 小鲨鱼2018 阅读(71) 评论(0) 推荐(0) 编辑
摘要:001、测试数据及匹配指定规则电话号码 [root@pc1 test]# ls a.txt [root@pc1 test]# cat a.txt 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 13783120433 16 17 18 19 20 21 22 阅读全文
posted @ 2023-12-24 10:15 小鲨鱼2018 阅读(394) 评论(0) 推荐(0) 编辑
摘要:01、 libc: c标准库 02、glibc:gnu c库 03、libgcc:gcc 低级运行库 04、libstdc++:gnu c++库 参考: 01、https://blog.csdn.net/weixin_41973774/article/details/129806773 阅读全文
posted @ 2023-12-13 11:14 小鲨鱼2018 阅读(119) 评论(0) 推荐(0) 编辑
摘要:001、简单测试 [root@pc1 test01]# str1=ab ## 测试字符串 [root@pc1 test01]# str2=xy [root@pc1 test01]# echo $str1 ## 测试字符串 ab [root@pc1 test01]# echo $str2 xy [ro 阅读全文
posted @ 2023-12-12 14:46 小鲨鱼2018 阅读(1005) 评论(0) 推荐(0) 编辑
摘要:001、创建数组(三种方法)(下标连续数组和下标不连续数组) a、利用小括号生成,各个元素之间使用空格间隔 [root@pc1 test01]# ay1=(111 222 aaa bbb) ## 生成普通数组 [root@pc1 test01]# echo ${ay1[*]} ## 访问数组的全部元 阅读全文
posted @ 2023-12-12 10:37 小鲨鱼2018 阅读(376) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示