Ask Your Question

Executing .sh files on Fedora 24

asked 2016-11-07 07:55:22 -0500

islatortuga gravatar image

I have problems executing .sh files, and the previous answer by Sten does not solve it for me, unfortunately.

For example, I enjoy playing games via Vassal ( ), and this worked fine under Ubuntu, Mageia, Debian and Mint. Either by double-clicking on the icon in the graphical interface, or by typing "sh" on the command line in the proper directory.

This morning I installed Fedora 24 Workstation, and neither option (clicking the icon, typing the command) works to start up Vassal. On the command line, when I type "sh" or even "bash", the prompt pauses for a few seconds, and then shows me my prompt and cursor again on the next line, as if nothing happened. Trying the "chmod +x" command first changes nothing in the result. Is there another way to go about this, or is there a step that I should do that I am missing? Something I should install first?

Thanks in advance!

edit retag flag offensive close merge delete


No clue what vassal is but your approach seems to correct. 1.) make .sh file executable: chmod +x 2.) execute it: ./ or bash

Do you have a compatible version of Java installed?

florian gravatar imageflorian ( 2016-11-07 09:55:07 -0500 )edit

Can you post the content of this script? You could use fpaste for that.

fcomida gravatar imagefcomida ( 2016-11-07 09:55:28 -0500 )edit

Ah, I will have a look at that. Thank you for the tip!

islatortuga gravatar imageislatortuga ( 2016-11-08 01:48:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-11-07 10:17:28 -0500

florian gravatar image

updated 2016-11-07 10:19:03 -0500

Took a quick look at the .sh script here, and that shows that you need java.

The following articles should get you started:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-11-07 07:55:22 -0500

Seen: 224 times

Last updated: Nov 07 '16