Questions tagged [.sh]

Shell scripts are executable files with the extension "sh".

Shell scripts are executable files with the extension "sh". Scripts begin with a hashpling followed by the commands. Scripts may be written in Bash, Tcsh, ash, dash, csh, ksh, etc.

37 questions
13
votes
3 answers

Not executing programs (*.sh ) with double click in 13.04

I use Ubuntu to host many servers, some minecraft, some cloud services, and many websites. Unfortunately, after upgrading to Ubuntu 13.04, It will not launch the craftbukkit.sh even though it is set to allow it to execute, it only opens in getit. I…
7
votes
2 answers

How to unistall a program installed by a .sh installer?

I downloaded a .sh program (in this case is a game) and then I installed using "sh name.sh" (or maybe it was "bash name.sh". I don't remember quite well, but I guess it has no importance in this case :P). Everything worked as planned. The .sh…
Istall
  • 71
4
votes
1 answer

"Run In Terminal" message doesn't appear

I'm trying to execute a .sh file, but its opening in gedit. I permitted it to be "executed as program", but it's still not working. I'm on a machine running Ubuntu 14.04LTS.
4
votes
6 answers

How to execute a .sh file?

I just install Ubuntu. One of the things I miss about windows is the lack of executable. When I right click the .sh file, go to permissions, and check "Allow executing as a program", it never does execute as a program when I double click it.…
Cole Lodge
  • 41
  • 1
  • 1
  • 2
4
votes
2 answers

When I try to run .sh files nothing happens?

I tried changing the settings to /properties/permissions>allow executing as program. When I click on it, nothing happens? Any suggestions? I don't know if it makes a difference but it is a game (which I read somewhere shouldn't be ran in some…
3
votes
1 answer

Why can't i execute run-mozilla.sh?

I have downloaded latest version of mozila-firefox from http://tinyurl.com/lm4449e . Try to install it by running following commands. cd Dowloads tar xjf firefox-38.0.1.tar.bz2 cd firefox chmod +x run-mozilla.sh ./run-mozilla.sh But i am getting an…
Shravan40
  • 269
  • 2
  • 4
  • 15
2
votes
1 answer

Teamspeak 3 .sh file not running ubuntu 15.04

I have installed Teamspeak 3 using this guide https://www.youtube.com/watch?v=92G6KYdlCRc. Once I try to run the .sh file nothing happens. I try to run it in terminal same thing. I made the file executable and changed the setting to ask me how to…
2
votes
1 answer

Need help with .sh script

I’m trying to get this ~/Desktop/Tor/tor-browser_en-US/ && ./start-tor-browser to run as a .sh. I've tried over and over again to get it to work, what am I doing wrong? #!/bin/bash chmod +x file.command ~/Desktop/Tor/tor-browser_en-US/ &&…
2
votes
1 answer

Trouble with simple script :(

Could someone please tell me why this script doesn't run correctly. Seems to be a problem with the if statement as i keep getting the error: /home/sinttx/Development/backup/ddbackup.sh: line 18: syntax error near unexpected token…
sinttx
  • 31
  • 1
  • 4
2
votes
2 answers

How do I open an URL from a bash script?

I have a simple script to start a node.js webserver and open the URL in a browser. However the last part doesn't seem to work, it wont open the URL in a browser (or anywhere else). This is the code I got so far: #!/bin/bash node server.js; xdg-open…
Wouter
  • 141
2
votes
2 answers

Make programm shortcut with .sh and .png

I have a pycharm.sh file and a pycharm.png. How do I create an executable given the two? I tried this: sudo chmod +x ./pycharm.sh but nothing is happening. I want and icon on the desktop and it to show up under my programs. I want to be able to…
user194862
2
votes
2 answers

Installing .sh file - mojo problem

So guys, I've done a lot of research on how to install and .sh file, and I tried it all but none of it works. Here is what I get after every possible way I've tried to run it: Uncompressing Mojo Setup.............. Collecting info for this…
user196373
  • 21
  • 1
  • 2
2
votes
1 answer

Is it possible to make a python script that runs on a specific terminal-profile

I have this python script that connects my desktop to the internet. there is not much text in it only a few messages about current status and time. So it would be really nice if i can open it (.sh file that opens the .py file) in a terminal that has…
Python Student
  • 558
  • 7
  • 16
2
votes
1 answer

Unable to run *.sh files by directly double clicking the file in 13.04

Facing this issue after upgrading to Raring Ringtail. Before I could run .sh files by directly double clicking the file. But now it goes directly for editing instead of opening up a pop window which will allow me either to Run in Terminal or…
2
votes
4 answers

Minecraft server (Bukkit) .sh bash file not opening

My Minecraft server (Bukkit) .sh bash file is not opening! I did make it executable (in permissions, I clicked "anyone" for executable). Here's the code: #!/bin/bash cd "$( dirname "$0" )" java -Xms1024M -Xmx1024M -jar craftbukkit.jar -o true The…
1
2 3