How do I edit a sh file?

How do I edit a sh file?
Answer
How do I edit a .sh file in Linux?
  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.
 

Tìm kiếm

Back
Top