上一页 1 2 3 4 5 6 7 ··· 367 下一页
摘要: 001、 给int型变量赋值double型数据 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试程序 #include <stdio.h> int main(void) { int i; i = 8.583; printf("i 阅读全文
posted @ 2024-07-28 20:29 小鲨鱼2018 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 001、 %f输出int型数据,其值为0. [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试程序 #include <stdio.h> int main(void) { int i = 10; printf("i = %f\n" 阅读全文
posted @ 2024-07-28 20:23 小鲨鱼2018 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 001、if 结构 002、if else结构 003、if else if elseif else结构 004、条件判断结构 005、switch结构 。 阅读全文
posted @ 2024-07-27 21:46 小鲨鱼2018 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 001、for [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试程序,for循环语句 #include <stdio.h> int main(void) { int i; for(i = 1; i <= 5; i++) { pr 阅读全文
posted @ 2024-07-27 13:38 小鲨鱼2018 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c // 测试程序 #include <stdio.h> int main(void) { int i = 10; printf("i1 = %d\n", i); printf("i2 阅读全文
posted @ 2024-07-27 13:37 小鲨鱼2018 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 这种问题存在于PATH 和 要加载的路径中存在相同的环境变量名,而起作用的是前者的环境变量 001、 a、如果PATH+ 路径中存在同名环境变量, 路径中环境变量生效。 b、如果路径 + PATH中存在相同的环境变量,路径中的环境变量生效。 阅读全文
posted @ 2024-07-23 09:46 小鲨鱼2018 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 001、环境变量混乱出现如下问题 [root@PC1 ~]# ls ## 基本命令调不起来 bash: ls: command not found... Similar command is: 'lz' [root@PC1 ~]# vim ~/.bashrc ## vim编辑器也调不起来 bash: 阅读全文
posted @ 2024-07-23 09:29 小鲨鱼2018 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 >Sequence1 CCCNTCACTNNNCTTGGNNNNNNNNN >Sequence2 [root@PC1 test]# sed 's/NNN\+//g' a 阅读全文
posted @ 2024-07-19 17:30 小鲨鱼2018 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据,三列数据 324324 aeddeef uukkiikk sssfee ffeeeww eeffzzdd zzzves ggeessa jjxxddqq aaeekk 阅读全文
posted @ 2024-07-19 10:21 小鲨鱼2018 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 001、 find ./ -type f -name "*fasta" -size +100M -size -200M ## 查找文件类型未文件; 名称未最后几个字符fasta, 文件的大小大于100M, 小于200M 。 阅读全文
posted @ 2024-07-17 22:33 小鲨鱼2018 阅读(4) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 367 下一页