mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-26 14:40:16 +00:00
Update README.md
This commit is contained in:
parent
35e7587b05
commit
ffc0c45075
1 changed files with 2 additions and 3 deletions
|
@ -176,13 +176,12 @@ http://www.cyberciti.biz/faq/grep-regular-expressions/
|
|||
sed 1d filename
|
||||
```
|
||||
|
||||
##### Remove the 100 lines (remove line 1-100)
|
||||
##### Remove the first 100 lines (remove line 1-100)
|
||||
```bash
|
||||
sed 1,100d filename
|
||||
```
|
||||
|
||||
#####
|
||||
remove lines with string (e.g. bbo)
|
||||
##### Remove lines with string (e.g. bbo)
|
||||
|
||||
```bash
|
||||
sed "/bbo/d" filename
|
||||
|
|
Loading…
Reference in a new issue