How do I run a file in Unix?

How do I run a file in Unix?
Answer
GUI method to run .
sh file
  1. Select the file using mouse.
  2. Right-click on the file.
  3. Choose Properties:
  4. Click Permissions tab.
  5. Select Allow executing file as a program:
  6. Now click the file name and you will be prompted. Select “Run in the terminal” and it will get executed in the terminal.
 

Tìm kiếm

Back
Top