mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 21:07:00 +00:00
Update README.md
This commit is contained in:
parent
35e7587b05
commit
ffc0c45075
@ -176,13 +176,12 @@ http://www.cyberciti.biz/faq/grep-regular-expressions/
|
|||||||
sed 1d filename
|
sed 1d filename
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Remove the 100 lines (remove line 1-100)
|
##### Remove the first 100 lines (remove line 1-100)
|
||||||
```bash
|
```bash
|
||||||
sed 1,100d filename
|
sed 1,100d filename
|
||||||
```
|
```
|
||||||
|
|
||||||
#####
|
##### Remove lines with string (e.g. bbo)
|
||||||
remove lines with string (e.g. bbo)
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sed "/bbo/d" filename
|
sed "/bbo/d" filename
|
||||||
|
Loading…
Reference in New Issue
Block a user