When I tried to run test1.sh in the GMT terminal, I got an error.
error: Permission denied
An administrator (you) must give permission to run files stored on your Mac in Terminal.
(Terminal is a tool for operating and setting Mac. It is designed so that only files with access rights can be executed to prevent unnecessary files such as virus files from being executed without permission.)
As below,
chmod -R 755 /Users/user/GMT_exe
and press Enter.
If you want to know chmod, please search by internet search.
After giving access rights to the terminal to the files under the GMT_exe folder, execute the test.sh file in the GMT terminal again. Did the terminal show that the script was completed (done)?
At the end of the test.sh statement, we specify to save test.eps to the working folder (/Users/user/GMT_exe).
Please open that file. If the map of Japan is created as shown below, the operation check is complete.
Did you do it?
If not, check whether the topographic map data file (file name and file size confirmation) is saved in the work folder, and whether there is an incorrect input of the command (just copy and paste the above command). please.
If not, please download the file below and save it in the /Users/user/GMT_exe/GMT_shell folder. Grant permissions again, then run this file in the GMT terminal.