update
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
#### grep 命令
|
||||
|
||||
```
|
||||
sudo grep -c '500' fielename.log #查找文件包含500的行数
|
||||
|
||||
sudo cat index.html | grep -o 'js' #只输出文件中匹配到的部分
|
||||
```
|
||||
|
||||
#### sed 命令
|
||||
|
Reference in New Issue
Block a user