4/06/2015

How to delete the line in Linux/Unix?

  Mohan       4/06/2015
Follow the below steps to delete the single line in the file in Linux/Unix
Open the file in vim editor (ex:vim text.txt)
Press "i" button to change into write mode
Go to the line which you want to delete using up and down arrow
Then press "dd" then particular line will be removed
Save the changes "wq!"
logoblog

Thanks for reading How to delete the line in Linux/Unix?

Previous
« Prev Post

No comments:

Post a Comment