sed remove line containing
sed '/pattern to match/d' ./infile
sed remove line containing
sed '/pattern to match/d' ./infile
bash how to delete a specific line from a file
# Basic syntax:
sed 'line#d' input_file
# Where line# is the line you want to delete from the input_file
# Example usage:
input_file contains:
this is
my favorite
line
sed '2d' input_file
--> this is
--> line
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us