上一页 1 ··· 290 291 292 293 294 295 296 297 298 ··· 408 下一页
摘要: 1、 [root@centos79 test]# cat a.txt test3_1_clean.fq.gz test3_2_clean.fq.gz test4_1_clean.fq.gz test4_2_clean.fq.gz test5_1_clean.fq.gz test5_2_clean.f 阅读全文
posted @ 2021-07-21 23:14 小鲨鱼2018 阅读(149) 评论(0) 推荐(0)
摘要: linux系统中批量提取指定列的数据。 1、测试数据 [root@centos79 test]# cat a.txt 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 03 0f 0t 0s 0g 0y 0a 0d 0e 0n 07 03 0 阅读全文
posted @ 2021-07-21 19:58 小鲨鱼2018 阅读(2075) 评论(0) 推荐(0)
摘要: 1、测试数据 [root@centos79 test]# cat a.txt 01 3 4 02 f s 03 t 3 04 s d 05 g i 06 y e 07 a w 08 d g 09 e w 10 n u 11 7 8 12 3 s 13 a d 14 g e 15 w a 16 z v 阅读全文
posted @ 2021-07-21 19:23 小鲨鱼2018 阅读(2268) 评论(0) 推荐(0)
摘要: linux系统中nl命令 1、测试数据 [root@centos79 test3]# cat a.txt e 3 8 i d f a e 8 3 s g g j 2 z t y c g s g s a 2、nl命令 [root@centos79 test3]# cat a.txt e 3 8 i d 阅读全文
posted @ 2021-07-21 13:53 小鲨鱼2018 阅读(298) 评论(0) 推荐(0)
摘要: 1、 脚本如下: [root@centos79 test2]# cat test.sh #!/bin/bash if [ $# -ne 1 ] ## $#表示一共有几个参数 then echo "usage bash test.sh number" exit 1 else echo "sqrt($1 阅读全文
posted @ 2021-07-21 13:36 小鲨鱼2018 阅读(990) 评论(0) 推荐(0)
摘要: linux系统中pgrep用于查找进程 1、查找与命令相关的进程 [root@centos79 test]# pgrep sort [root@centos79 test]# 启动一个sort命令测试: [root@centos79 test]# seq -f test%03g 100000000| 阅读全文
posted @ 2021-07-21 13:16 小鲨鱼2018 阅读(209) 评论(0) 推荐(0)
摘要: c语言中显示各种数据类型的大小。 #include <stdio.h> int main(void) { //char type printf("char: %zd.\n\n", sizeof(char)); //integer type printf("short: %zd.\n", sizeof 阅读全文
posted @ 2021-07-20 22:56 小鲨鱼2018 阅读(358) 评论(0) 推荐(0)
摘要: c语言中浮点数的舍入错误。 1、 #include <stdio.h> int main(void) { float a, b; b = 2.0e20 + 1.0; a = b - 2.0e20; float c, d; d = 2.0e5 + 1.0; c = d - 2.0e5; printf( 阅读全文
posted @ 2021-07-20 22:06 小鲨鱼2018 阅读(220) 评论(0) 推荐(0)
摘要: 1、c语言中浮点值的上溢 #include <stdio.h> int main(void) { float test1 = 5.2e4 * 100.0f; float test2 = 5.2e40 * 100.0f; //超出float类型可以表示的范围。 printf("test1: %e.\n 阅读全文
posted @ 2021-07-20 22:00 小鲨鱼2018 阅读(375) 评论(0) 推荐(0)
摘要: c语言中打印浮点数。 #include <stdio.h> int main(void) { float f = 100.0; double d = 1.0e2; long double ld = 1.0e2; printf("float: %f.\n", f); printf("float: %e 阅读全文
posted @ 2021-07-19 23:48 小鲨鱼2018 阅读(2368) 评论(0) 推荐(0)
上一页 1 ··· 290 291 292 293 294 295 296 297 298 ··· 408 下一页