cut
来源:互联网 发布:淘宝的神笔在哪里 编辑:程序博客网 时间:2024/05/18 13:25
基于列处理文本内容
cut -d: -f1 /etc/passwd
grep wudi /etc/passwd | cut -d: -f1-3
-d 指定分割字符(默认TAB)
-f 指定输出的列号
-c 基于字符进行切割,cut -c2-6 /etc/passwd
cut -d: -f1 /etc/passwd
grep wudi /etc/passwd | cut -d: -f1-3
-d 指定分割字符(默认TAB)
-f 指定输出的列号
-c 基于字符进行切割,cut -c2-6 /etc/passwd
0 0
- cut
- cut
- cut
- cut
- cut
- cut
- cut
- cut
- Cut
- cut
- cut
- cut
- cut
- cut
- cut
- cut
- cut
- cut
- Windows下面小工具pslist(终于部分原创了,呵呵)
- typedef语句和数据类型转换
- HDU4930-Fighting the Landlords
- C++-类与对象
- POJ 1160 Post Office
- cut
- 抽象数据类型的表示与实现
- Windows自己定义的数据类型
- 别了dvorak!-----论qwert、dvorak布局优劣
- socket连接和TCP连接的关系
- 1000:A+B
- spring 获取上下文
- php导入sql文件
- Android之Touch事件分发机制