当前位置:网站首页>grep命令 笔试题
grep命令 笔试题
2022-07-31 19:03:00 【Linux运维日记】
grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本
打印test.txt 中包含 ‘root’ 的行
删除test.txt 的15行以及以后所有行
删除test.txt中包含 ‘bash’ 的行
替换test.txt 中 ‘root’ 为 ‘ha’
替换test.txt中 ‘/sbin/nologin’ 为 ‘/bin/login’
打印/etc/passwd的奇数行?
边栏推荐
猜你喜欢
35 MySQL interview questions and diagrams, this is also easy to understand
Three.js入门
Cache and Database Consistency Solutions
iNeuOS工业互联网操作系统,设备运维业务和“低代码”表单开发工具
1161. 最大层内元素和 : 层序遍历运用题
Unity 之 音频类型和编码格式介绍
新型电信“套路”,我爸中招了!
Architect 04 - Application Service Encryption Design and Practice
AI 自动写代码插件 Copilot(副驾驶员)
高通cDSP简单编程例子(实现查询高通cDSP使用率、签名),RK3588 npu使用率查询
随机推荐
Linux环境redis集群搭建「建议收藏」
Masterless replication system (2) - read and write quorum
Routing interception of WeChat applet
10 Ways to Keep Your Interface Data Safe
杰理语音芯片ic玩具芯片ic的介绍_AD14NAD15N全系列开发
npm 更改为淘宝镜像的方法[通俗易懂]
Jiuqi ny3p series voice chip replaces the domestic solution KT148A, which is more cost-effective and has a length of 420 seconds
ResNet的基础:残差块的原理
Basics of ResNet: Principles of Residual Blocks
GAC Honda Safety Experience Camp: "Danger" is the best teacher
如何识别假爬虫?
程序员如何学习开源项目,这篇文章告诉你
A common method and the use of selenium
21.支持向量机—核函数的介绍
multithreaded lock
Introduction of Jerry voice chip ic toy chip ic_AD14NAD15N full series development
微信小程序的路由拦截
Golang 切片删除指定元素的几种方法
Made with Flutter and Firebase!counter application
1161. 最大层内元素和 : 层序遍历运用题