-
* grep常用选项
```
-n:显示匹配的行号
-i:忽略大小写
-r :递归搜索目录中的文本文件
-l:只列出包含匹配文本的文件名
-v:反选只显示不匹配的行
-c:只计算匹配的行数不是显示行内容
```
**过滤出包含miku字符的行**
```grep "miku" /etc/passwd```
**过滤出包含miku字符的行/忽略大小写/显示行号**
```gr…
-
Hello!
I just got pointed to this program by noone else but Nelson H. F. Beebe (after noting that dict.cc is so slow to access with the lynx text mode browser on the lynx list), who says he uses this…
-
awk -F 是什么含义
awk是一个非常强大的文本处理工具,它允许你写出简短的程序来处理文本文件。在awk命令中,-F选项用于指定输入字段(即在处理文本行时,数据字段之间的分隔符)的分隔符。
默认情况下,awk使用空格作为字段分隔符,这意味着它将根据空格将每行文本分割成多个字段。但是,如果你的数据字段是由特定字符分隔的,比如逗号(,)、冒号(:)或任何其他字符,你可以使用-…
-
Last part of the man pages seems to have glitch or typo that repeats
-
https://github.com/cliffe/SecGen/blob/3135bf46c728baba40646c20cb9db24559ed05e6/modules/vulnerabilities/unix/access_control_misconfigurations/sudo_root_awk/manifests/config.pp#L12
Update to _also_ i…
-
### Tested versions
v4.3.stable.official [77dcf97d8]
### System information
Mac OS X Catalina 10.15
### Issue description
On Mac OSX, the Environment **PATH** is different when retrieving it usin…
-
Hi when I run this script, I got the below error output, Could you pls have a look, and let me know how to fix it? Thank you.
---------
Notice: Longest hostname length is truncated to 20
Hostnam…
-
### Dupe Check
- [X] I have [searched Warp bugs](https://github.com/warpdotdev/warp/issues?q=is%3Aissue+label%3ABugs) and there are no duplicates
### Describe the bug
I have a complex command with …
-
detro updated
3 months ago
-