mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 08:46:36 +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
|
||||
```
|
||||
|
||||
##### 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 New Issue
Block a user