bash delete a range of lines from a file
# Basic syntax using sed:
sed 'm,nd' input_file
# Where m is the start line number and n is the end line number inclusive
# Note, add -i to delete the lines in place. E.g.:
sed -i 'm,nd' input_file # This changes the original input_file
Also in C++:
- react icons
- ls | wc -l in other directory
- install docker in linux
- check folder size in linux terminal
- ubuntu install codecs
- install react dependencies
- git credential save
- boot pendrive
- convert all line endings to unix
- recover git stash clear
- pip install flask_restful
- check which users are part of a group linux
- Flexlay Editor
- github push code from one repo to another
- check start date of process id linux
- display all files in a directory linux
- git clone epitech
- definition varibale in bash
- how to install nvm
- bash vlookup function
- deploy react express to github pages
- how to forcefully delete a directory in linux
- making password sensitive/hide in terraform
- extract rpm in linux