52 articles Linux

Comment and Uncomment multiple line in vi terminal editor

Commenting Multiple Lines Follow the steps given below for commenting multiple using the terminal. First, press ESC Go to the line from which you want to start commenting. Then, press ctrl + v, this will enable the visual block mode. use the down arrow to select multiple lines that you want to comment. Now, press SHIFT + I to enable insert…