Remove the line which contain some specific words in files


Use sed command,

sed --in-place '/sara/d' file1

It removes the specific line which contain word sara.

Comments

Popular posts from this blog

Using a Linux server to route packets between two private networks

PHP Fatal error: Class 'JFactory' not found

KVM & Qemu