- 链接地址:https://blog.csdn.net/shufangreal/article/details/113995672
- 链接标题:常用的shell命令(cut sed sort awk nl head …)_centos shell sort -rnk 3 | head-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5642
文章浏览阅读163次。常用的shell命令(cut sed sort awk nl head …)cut (既可以编辑文本,也可以通过管道符号|进行操作)#准备文件vim test.txthello:mother:fucker:with:my:namehello:mother:fucker:with:my:namehello:mother:fucker:with:my:namehello:mother:fucker:with:my:namecut -b 2,3 test.txt #查看占用第2个字符的文本内_centos shell sort -rnk 3 | head
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除