上一页 1 ··· 353 354 355 356 357 358 359 360 361 ··· 367 下一页
摘要: 1、测试数据 [root@linuxprobe test]# ls ## 测试数据 a.txt [root@linuxprobe test]# cat a.txt fd gfd fgd fsdafds dfs sfa [root@linuxprobe test]# cat -A a.txt fd g 阅读全文
posted @ 2020-10-18 21:36 小鲨鱼2018 阅读(4541) 评论(0) 推荐(0) 编辑
摘要: 1、linux系统中find命令主要用于查找文件,可以设置不同的查找条件进行查找 创建测试数据: [root@linuxprobe test]# touch a.txt b.txt c.txt ## 创建三个普通文件 [root@linuxprobe test]# mkdir test1 test2 阅读全文
posted @ 2020-10-17 07:14 小鲨鱼2018 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1、linux系统中字符串比较语句用来判断字符串是否相等、或者字符串的代表的变量是否被赋值过 = 表示字符串是否相同 [root@linuxprobe test]# a=xxx [root@linuxprobe test]# [ $a = "xxx" ] [root@linuxprobe test] 阅读全文
posted @ 2020-10-16 22:12 小鲨鱼2018 阅读(1940) 评论(0) 推荐(0) 编辑
摘要: 1、-eq 表示等于 [root@linuxprobe test]# [ 3 -eq 4 ] [root@linuxprobe test]# echo $? 1 [root@linuxprobe test]# [ 3 -eq 3 ] [root@linuxprobe test]# echo $? 0 阅读全文
posted @ 2020-10-16 21:37 小鲨鱼2018 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 1、查看系统、java安装情况 [root@linuxprobe ~]# cat /etc/system-release Red Hat Enterprise Linux release 8.0 (Ootpa) [root@linuxprobe ~]# java bash: java: comman 阅读全文
posted @ 2020-10-16 18:55 小鲨鱼2018 阅读(1574) 评论(0) 推荐(0) 编辑
摘要: 1、查看系统版本及当前java环境 [root@linuxprobe home]# cat /etc/system-release ## 查看系统版本 Red Hat Enterprise Linux release 8.0 (Ootpa) [root@linuxprobe home]# java 阅读全文
posted @ 2020-10-16 17:47 小鲨鱼2018 阅读(1566) 评论(0) 推荐(0) 编辑
摘要: 1、系统版本、java环境查看 [root@linuxprobe home]# cat /etc/system-release ## 查看系统版本 Red Hat Enterprise Linux release 8.0 (Ootpa) [root@linuxprobe home]# java ## 阅读全文
posted @ 2020-10-16 00:14 小鲨鱼2018 阅读(794) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@linuxprobe test]# ls outcome.map outcome.ped [root@linuxprobe test]# cat outcome.ped DOR 1 0 0 0 -9 C C C C A A G G A G G G G G G C DOR 2 阅读全文
posted @ 2020-10-15 19:24 小鲨鱼2018 阅读(2613) 评论(0) 推荐(0) 编辑
摘要: 1、linux系统中case主要用于选择执行、在需要进行多重分支的情况下使用,case在多个范围内匹配数据,若匹配成则执行相关的命令并结束整个条件测试。 简单示例: [root@linuxprobe test]# ls test.sh [root@linuxprobe test]# cat test 阅读全文
posted @ 2020-10-14 21:00 小鲨鱼2018 阅读(1939) 评论(0) 推荐(0) 编辑
摘要: 1、 直接创建用户 [root@linuxprobe home]# pwd/home [root@linuxprobe home]# ls a.txt linuxprobe software test.sh [root@linuxprobe home]# seq -f liujiaxin%02g 1 阅读全文
posted @ 2020-10-14 14:53 小鲨鱼2018 阅读(833) 评论(0) 推荐(0) 编辑
上一页 1 ··· 353 354 355 356 357 358 359 360 361 ··· 367 下一页