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
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
- In the terminal, navigate to the directory the bash file is in.
- Run chmod +x <filename>.sh.
- In Nautilus, open the file.