sed delete line with matching pattern
Use d option at the end of sed command string for deleting line of matches.
sed -i "" "s/matching_pattern/d" file.txt
Also in C++:
- Error: Unable to find a match: centos-release-openstack-queens
- vue cli ui
- ubuntu vs lubuntu
- ls | wc -l in other directory
- github add all files/directories and subdirectories
- heroku Failed to install gems via Bundler when remove gem rails
- cmder search histroy
- gitignore is not working
- most git libya
- composer install one line
- centos install copmposer
- install tor on debian
- npx cap sync Unable to find node_modules/@angular-eslint/builder
- bash delete first n characters of each line
- how to install sublime text on arch linux
- What causes a defunct process on the Linux system and how can you avoid it?
- install angular cli version
- command to restart linux
- powershell admin privileges
- install nasm ubuntu
- display number of lines in nano linux
- gestures in ubuntu
- how to forcefully delete a directory in linux
- bash how to download password protected files