摘要:
c语言中数据类型基本分类。 通过这些关键字创建的类型,根据计算机的存储方式可分为两大基本类型: 整数类型和浮点数类型 阅读全文
posted @ 2021-07-09 22:12
小鲨鱼2018
阅读(326)
评论(0)
推荐(0)
摘要:
1、逻辑cpu个数(线程数) [root@centos79 test]# cat /proc/cpuinfo | grep "processor" processor : 0 processor : 1 processor : 2 processor : 3 [root@centos79 test] 阅读全文
posted @ 2021-07-09 19:46
小鲨鱼2018
阅读(1040)
评论(0)
推荐(0)
摘要:
1、测试数据 [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t s c E a R t e 4 s 2、删除包含字符k后的一行 [root@centos79 test]# cat a.txt 3 4 5 阅读全文
posted @ 2021-07-09 13:20
小鲨鱼2018
阅读(2182)
评论(0)
推荐(0)
摘要:
1、测试数据 [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、head命令删除最后三行 [root@centos79 te 阅读全文
posted @ 2021-07-09 12:56
小鲨鱼2018
阅读(4208)
评论(0)
推荐(1)
摘要:
1、测试数据 [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、删除匹配k的行及其后2行 [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 阅读全文
posted @ 2021-07-09 00:44
小鲨鱼2018
阅读(1527)
评论(0)
推荐(0)
摘要:
1、测试数据 [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、将第2行替换为xxxx [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 阅读全文
posted @ 2021-07-09 00:33
小鲨鱼2018
阅读(5343)
评论(0)
推荐(0)
摘要:
1、测试数据如下: [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、在第2行后插入xxxx [root@centos79 阅读全文
posted @ 2021-07-09 00:27
小鲨鱼2018
阅读(17929)
评论(0)
推荐(1)
摘要:
1、测试数据如下: [root@centos79 test]# ls a.txt b.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s [root@centos79 test]# c 阅读全文
posted @ 2021-07-09 00:02
小鲨鱼2018
阅读(491)
评论(0)
推荐(0)

浙公网安备 33010602011771号