上一页 1 ··· 393 394 395 396 397 398 399 400 401 ··· 407 下一页
摘要: 1、case命令选择执行 [root@linuxprobe test]# ls test.sh [root@linuxprobe test]# cat test.sh ## 查看脚本 #!/bin/bash echo "This is a test!" echo "you can choose 0- 阅读全文
posted @ 2020-10-19 12:35 小鲨鱼2018 阅读(1187) 评论(0) 推荐(0)
摘要: 1、 [root@linuxprobe test]# ls ## 测试数据 a.txt [root@linuxprobe test]# cat a.txt fd gfd fgd fsdafds dfs sff [root@linuxprobe test]# cat -A a.txt ^I^Ifd g 阅读全文
posted @ 2020-10-19 12:13 小鲨鱼2018 阅读(890) 评论(0) 推荐(0)
摘要: 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 阅读(4904) 评论(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 阅读(422) 评论(0) 推荐(0)
摘要: 1、linux系统中字符串比较语句用来判断字符串是否相等、或者字符串的代表的变量是否被赋值过 = 表示字符串是否相同 [root@linuxprobe test]# a=xxx [root@linuxprobe test]# [ $a = "xxx" ] [root@linuxprobe test] 阅读全文
posted @ 2020-10-16 22:12 小鲨鱼2018 阅读(1990) 评论(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 阅读(541) 评论(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 阅读(1616) 评论(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 阅读(1631) 评论(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 阅读(904) 评论(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 阅读(3193) 评论(0) 推荐(0)
上一页 1 ··· 393 394 395 396 397 398 399 400 401 ··· 407 下一页