摘要: 1、小写转换为大写 [root@PC1 test]# ls a.txt test.py [root@PC1 test]# cat a.txt U R D S F E A D E x v m e f x e r d z d v [root@PC1 test]# cat test.py ## 小写转换为 阅读全文
posted @ 2022-05-31 23:15 小鲨鱼2018 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: 1、 [root@PC1 test]# ls a.txt test.py [root@PC1 test]# cat a.txt U R D S F E A D E j k x v m j e f x e r d k j k u z d v [root@PC1 test]# cat test.py # 阅读全文
posted @ 2022-05-31 23:02 小鲨鱼2018 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: 1、提取以x开头的行 [root@PC1 test]# ls a.txt test.py [root@PC1 test]# cat a.txt u r d s f e a d e x v m e f x e r d z d v [root@PC1 test]# cat test.py ## 提取以x 阅读全文
posted @ 2022-05-31 22:38 小鲨鱼2018 阅读(2447) 评论(0) 推荐(0) 编辑
摘要: 1、 [root@PC1 test]# ls a.txt test.py [root@PC1 test]# cat a.txt u r d s f e a d e x v m e f x e r d z d v [root@PC1 test]# cat test.py ## 提取程序,提取文本中包含 阅读全文
posted @ 2022-05-31 22:15 小鲨鱼2018 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 1、date命令 [root@PC1 home]# date ## 显示当前时间 Tue May 31 16:39:18 EDT 2022 [root@PC1 home]# date "+%H:%M:%S" ## 时分秒 16:39:29 [root@PC1 home]# date "+%Y-%m- 阅读全文
posted @ 2022-05-31 20:45 小鲨鱼2018 阅读(3934) 评论(0) 推荐(0) 编辑
摘要: x86:x86是指intel开发的⼀种32位指令集,从386开始时代开始的,⼀直沿⽤⾄今,是⼀种cisc指 令集,所有intel早期的cpu,amd早期的cpu都⽀持这种指令集,ntel官⽅⽂档⾥⾯称为“IA-32”。AMD64:后来AMD推出了兼容32位的64位集关于IA-32的扩展,之后改名为A 阅读全文
posted @ 2022-05-31 18:59 小鲨鱼2018 阅读(5678) 评论(0) 推荐(2) 编辑
摘要: 1、查看系统 [root@PC1 home]# cat /etc/redhat-release Red Hat Enterprise Linux release 9.0 (Plow) 2、测试yum仓库 [root@PC1 home]# yum install httpd Updating Subs 阅读全文
posted @ 2022-05-31 17:47 小鲨鱼2018 阅读(1788) 评论(0) 推荐(0) 编辑
摘要: 1、查看系统 [root@PC1 home]# cat /etc/system-release Red Hat Enterprise Linux release 9.0 (Plow) 2、当前IP [root@PC1 home]# ifconfig | head ens160: flags=4163 阅读全文
posted @ 2022-05-31 17:28 小鲨鱼2018 阅读(238) 评论(0) 推荐(0) 编辑