Comments on: LFCS #2: How to Install and Use Vi/Vim as a Full Text Editor in Linux https://www.tecmint.com/vi-editor-usage/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 17 Aug 2023 06:54:11 +0000 hourly 1 By: jenrry soto https://www.tecmint.com/vi-editor-usage/comment-page-1/#comment-1320391 Sat, 07 Mar 2020 07:29:00 +0000 http://www.tecmint.com/?p=9175#comment-1320391 Thank you, and now I know, I can change ens33 for eth0 when I install asterisk on centos 7 because sometimes I need to change ens33 for eth0 if not some modules doesn’t work.

]]>
By: Andrew Krall https://www.tecmint.com/vi-editor-usage/comment-page-1/#comment-940072 Sat, 25 Nov 2017 14:36:58 +0000 http://www.tecmint.com/?p=9175#comment-940072 One fun workaround with vim that I use sometimes is that if you’ve forgotten that you can’t write to the file you’re editing unless you’re root, you can use the command “:w !sudo tee %” to execute the write with sudo permissions.

This only works if you’re in the sudo group on the machine, but it’s helped me several times when I’ve edited system files and forgotten to open the file with sudo or as root.

]]>
By: Yeliz Ok https://www.tecmint.com/vi-editor-usage/comment-page-1/#comment-805620 Mon, 08 Aug 2016 14:51:13 +0000 http://www.tecmint.com/?p=9175#comment-805620 Great guide for novices. Thanks.

]]>
By: Ravi Saive https://www.tecmint.com/vi-editor-usage/comment-page-1/#comment-785292 Tue, 31 May 2016 06:11:43 +0000 http://www.tecmint.com/?p=9175#comment-785292 In reply to Gabriel A. Cánepa.

@Ivin, @Barry and @Mdebusk,

Corrected as suggested in the writeup, I hope it will clear any confusion..

]]>
By: Gabriel A. Cánepa https://www.tecmint.com/vi-editor-usage/comment-page-1/#comment-785107 Mon, 30 May 2016 12:38:07 +0000 http://www.tecmint.com/?p=9175#comment-785107 In reply to mdebusk.

Thank you @lvin and @Barry for pointing this out, and mdebusk for clarifying.
@Ravi, please correct the writeup as suggested by mdebusk above.

]]>