LATEST POSTS





4/06/2015

How to delete the line in Linux/Unix?





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!"

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes