How do I run a .sh file in Terminal?

How do I run a .sh file in Terminal?
Answer
Right-click the . sh file and make it executable. Open a terminal
( Ctrl + Alt + T ).
…
If all else fails:
  1. Open terminal.
  2. Open the folder containing the . sh file.
  3. Drag and drop the file into the terminal window.
  4. The file’s path appears in terminal. Press Enter .
  5. Voila, your . sh file is run.
 

Tìm kiếm

Back
Top