当前位置:网站首页>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的奇数行?
边栏推荐
- MySQL---基本的select语句
- go记录之——slice
- leetcode 665. Non-decreasing Array 非递减数列(中等)
- 有一说一,外包公司到底值不值得去?
- 学生管理系统第一天:完成登录退出操作逻辑 PyQt5 + MySQL5.8
- How programmers learn open source projects, this article tells you
- AcWing 1282. Search Keyword Problem Solution ((AC Automata) Trie+KMP)+bfs)
- 抖音根据关键词取视频列表 API
- 全平台GPU通用AI视频补帧超分教程
- 九齐ny3p系列语音芯片替代国产方案KT148A性价比更高420秒长度
猜你喜欢
Jiuqi ny3p series voice chip replaces the domestic solution KT148A, which is more cost-effective and has a length of 420 seconds
TestCafe之如何进行调试
Go basic part study notes
[TypeScript] OOP
请问我的这段sql中sql语法哪里出了错
MySQL - single function
九齐ny3p系列语音芯片替代国产方案KT148A性价比更高420秒长度
Teach you how to deploy Nestjs projects
20.支持向量机—数学原理知识
广汽本田安全体验营:“危险”是最好的老师
随机推荐
How can we improve the real yourself, become an excellent architect?
MySQL---Create and manage databases and data tables
pytorch lstm时间序列预测问题踩坑「建议收藏」
leetcode 665. Non-decreasing Array
35道MySQL面试必问题图解,这样也太好理解了吧
ECCV 2022 华科&ETH提出首个用于伪装实例分割的一阶段Transformer的框架OSFormer!代码已开源!...
Batch (batch size, full batch, mini batch, online learning), iterations and epochs in deep learning
Kotlin coroutines: continuation, continuation interceptor, scheduler
multithreaded lock
Jiuqi ny3p series voice chip replaces the domestic solution KT148A, which is more cost-effective and has a length of 420 seconds
INeuOS industrial Internet operating system, the equipment operational business and "low code" form development tools
This 985 professor is on fire!After 10 years of Ph.D. supervisor, no one has graduated with a Ph.D.!
【AcWing】The 62nd Weekly Match 【2022.07.30】
架构师04-应用服务间加密设计和实践
leetcode: 6135. The longest ring in the graph [inward base ring tree + longest ring board + timestamp]
iNeuOS工业互联网操作系统,设备运维业务和“低代码”表单开发工具
中文编码的设置与action方法的返回值
ojdbc8 "Recommended Collection"TestCafe之如何进行调试
IP protocol from 0 to 1