How do I open a .sh file in Terminal?

Khang Lê

New member
How do I open a .sh file in Terminal?
Answer
Open terminal. Open the folder containing the .sh file. Drag and drop the file into the terminal window. The file’s path appears in terminal.
Option 2
  1. In the terminal, navigate to the directory the bash file is in.
  2. Run chmod +x <filename>.sh.
  3. In Nautilus, open the file.
 

Tìm kiếm

Back
Top