How do I edit a .sh file in Linux?

Lan Anh

New member
How do I edit a .sh file in Linux?
Answer
Edit the file with vim:
  1. Open the file in vim with the command “vim”. …
  2. Type “/” and then the name of the value you would like to edit and press Enter to search for the value in the file. …
  3. Type “i” to enter insert mode.
  4. Modify the value that you would like to change using the arrow keys on your keyboard.
21 мар. 2019 г.
 

Tìm kiếm

Back
Top