Linked Questions

91
votes
4answers
837k views

How to run .sh file [duplicate]

Possible Duplicate: How do I run .sh files in Terminal? I want to download JDownloader from the internet for Linux. But the file is .sh and when I tell ubuntu to open the file it uses some text ...
12
votes
2answers
61k views

.sh script won't run [duplicate]

Possible Duplicate: How do I run .sh files in Terminal? I'm trying to install Craftbukkit on my Ubuntu 12.04 server. However, I'm having issues with step seven, which instructs me to run ./...
6
votes
3answers
136k views

How to run a script? [duplicate]

Possible Duplicate: How do I run .sh files in Terminal? I need to install a special patch for vmware. To do this, I downloaded the file and it was the file "linux", a text editor, it looks like ...
4
votes
4answers
79k views

How to open bash files with terminal? [duplicate]

I am new to Ubuntu and I just started learning bash. How can I open bash files through terminal?
3
votes
6answers
47k views

How to execute a .sh file? [duplicate]

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 ...
0
votes
1answer
6k views

How to install files with .sh extension in Ubuntu 16.04 LTS? [duplicate]

I have HP 32-bit laptop with ubuntu 16.04 lts OS. I want to install a software which comes with .sh (e.g. abcd.sh). Now I download this file in Download folder, and from terminal I go to this folder ...
1
vote
4answers
2k views

Can't run a shell script [duplicate]

So I have this script: #!/bin/bash # Flips the screen (hopefully) syntax_error=0 orientation=0 current_orientation="$(xrandr -q --verbose | grep 'connected' | egrep -o '\) (normal|left|inverted|...
3
votes
0answers
10k views

Why can't I execute any .sh scripts? [duplicate]

Possible Duplicate: How do I run .sh files in Terminal? When I try to run a .sh script in Terminal it says I have no permissions to do that. And when I try to run an executable nothing happens ...
0
votes
2answers
2k views

How do I install altitude? (.sh file, game) [duplicate]

Possible Duplicate: How do I run .sh files in Terminal? I've been trying to install the altitude.sh file I got from altitudegame.com. but I don't know how to install it. And it is not in the ...
0
votes
1answer
5k views

I cannot open .sh file in ubuntu 15.04 [duplicate]

I right click and into properties I allow the permision to run as a programe. But still cannot run it. It is still opening in text document file
0
votes
1answer
4k views

install jdk-7u71-nb-8_0_2-linux-i586.sh [duplicate]

I have downloaded JDK 7u71 with NetBeans 8.0.2 from http://www.oracle.com/us/technologies/java/jdk-7-netbeans-download-432126.html. I want to know how to install jdk-7u71-nb-8_0_2-linux-i586.sh on ...
0
votes
1answer
4k views

How do I open a .sh file with terminal? [duplicate]

I want to shutdown with terminal, so I created .sh file with command sudo poweroff. I want to run this with terminal. How do I do that?
0
votes
3answers
4k views

.sh files won't run, even after permission given [duplicate]

I have had a long history of not being able to run .sh files. I don't understand what the underlying problem is,(I'm a little bit new to Ubuntu/UNIX based systems). When I try to run certain .sh ...
0
votes
1answer
2k views

./install_geographiclib_datasets.sh Permission denied [duplicate]

i try to instal mavros in ros kinetic ubuntu 16.04, but i cannot install $ ./install_geographiclib_datasets.sh bash: ./install_geographiclib_datasets.sh: Permission denied I tried: sudo chmod -x ...
-2
votes
1answer
357 views

Where do I put this code to install Absynth 5? [duplicate]

I want to install absynth 5 on my computer. I found this code, here it is. #!/bin/bash # Date : (2013-02-01) # Last revision : (2013-02-01) # Distribution used to test : Kubuntu 12.04 LTS # Author : ...
0
votes
0answers
897 views

How to “run” Blender 2.8 in 18.04 [duplicate]

In the install instructions, they say "run" the Blender executable for v 2.8. While I have the executable in the extracted folder, I don't know which command will "run" it. I tried run blender within ...
0
votes
1answer
442 views

I have opened 'install.sh' file to install Kyocera printer, but don't know how to 'Run' [duplicate]

I need help installing my printer. I put the 'tar-gz' file in a new folder and opened it, clicked on 'tar.gz', and the files were 'install.sh', the different '.ppds,' and 'rastertokpsl.' The ...
1
vote
1answer
298 views

How to install MK - a program “Holy Bible” [duplicate]

I am a fresh user of Ubuntu. I enjoy with 18.04 version and there are many things to learn. As for example to launch a program called "Holy Bible." The distributor is the "Institute for Bible ...
-2
votes
1answer
267 views

How to install *.sh ubuntu14 [duplicate]

I have setup file *.sh, I installed Ubuntu 14. I have tried terminal mode its not working. How to run GUI mode. Please let me know the commands and any other samples
1
vote
1answer
118 views

Unsure how to use my script [duplicate]

for my first year CS I need to know Shell Scripting, but I'm really terrible at this. I wrote this script for example #!/bin/bash [ $(whoami) != "root" ] && echo "Run as superuser" &&...
0
votes
1answer
175 views

Problem opening .sh files [duplicate]

I'm trying to install netbeans-7.4-linux.sh on my 13.10 Ubuntu. After using terminal sudo sh ./netbeans-7.4-linux.sh it is telling me cannot open netbeans-7.4-linux.sh. How do I get past this?
0
votes
2answers
126 views

How to execute an .sh file? [duplicate]

I thought a sudo will work, but it says command not found: sudo: ./eTax_ticinoPG13_inst_Linux.sh: command not found nuc@nuc:~/Downloads$ ./eTax_ticinoPG13_inst_Linux.sh bash: ./...
0
votes
0answers
29 views

run shell script files in ubuntu [duplicate]

I work on ubuntu 19.04 and want to install Arduino .I can extract the files but I cannot run the install.sh file as it says command not found.
0
votes
0answers
16 views

Shell script doesn't fill up file as coded [duplicate]

Hey guys i'm learning how to code shell scripts and tried to do a simple html page. My script looks like this: #!/bin/bash # sysinfo_page - A script to produce an html file cat <<- _EOF_ <...
252
votes
3answers
1.1m views

How to make a file (e.g. a .sh script) executable, so it can be run from a terminal

I have a script.sh file and type of this file is shellscript file. I want to make this file as application/x-executable file. How can I make it?
71
votes
3answers
528k views

Permission denied when running .sh scripts

./geany_run_script.sh: 5: ./geany_run_script.sh: ./Area_circumference: Permission denied program exited with code: 126. This problem always occur when I try to execute my code. What might be the ...
6
votes
2answers
46k views

Write script to open browser at specific URL on login?

I've been using Ubuntu for a few weeks, and I want to know more about automating tasks. How can I write a bash script to open a web browser with a specific URL after startup?
4
votes
2answers
23k views

Unable to execute .sh files in Ubuntu 14.04

I am unable to run .sh file in Ubuntu 14.04. The same file was executing in earlier version 12.xx. After upgrading to 14.04, this file stopped running. How to resolve this issue?
1
vote
4answers
7k views

Linux equivalent for «cmd /C start “Title” “C:\Folder\file.bat”»

I have a Java program that runs a batch file on Windows with Runtime.getRuntime().exec() using the following command: cmd /C start "Title" "C:\Folder\file.bat" The Java program ends quickly since ...
7
votes
1answer
3k views

Bash script doesn't run from nautilus, but does run from terminal

Before I add more detail to my question, I have to say something very important: Yes, my script has "Allow executing file as program" turned on. The question itself: For programming reasons (shared ...
0
votes
2answers
11k views

How can I update Tor browser?

I downloaded the Tor Browser and when I ran it, I get that it need to be updated. So I when to the tor website and downloaded the tor bundle and extracted it. When I double click on start-tor-...
1
vote
2answers
2k views

How to run shell script commands manually

I'm running Ubuntu on my Samsung ARM Chromebook in chroot via crouton. I'm trying to run Cisco AnyConnect VPN in Ubuntu and ran into an issue. It installs but the daemon won't start. I found a ...
0
votes
2answers
3k views

Commands in script do not run, but in terminal they do

My script is as follows: #!/bin/sh rm -rfv /home/user/Documents/Exercise/* cp -rfv /home/user/Documents/ExerciseShare/ExerciseFiles/Word/Advanced/ /home/tp3/Documents/Exercise/ If i was to run ...
0
votes
1answer
2k views

Running a .sh script

I had a software developed. And now my developer is no longer working with me. I have about 40 users on this, and it seems this thing is ran manually. Yet it was working for the users when they used ...
2
votes
3answers
602 views

Why do I have to change into my private bin folder to execute an .sh script?

I have a private bin folder in my home directory. It's is also in my path. If I try to run a script from anywhere else in my system but within that folder, I get sh: 0: Can't open [name of script]....
2
votes
2answers
1k views

Executable text file (like a bat file) that will automatically run in a new terminal when you open it

Basically I want to make a file that when I open it normally, it opens a new terminal and runs a set command that I preset into it. Here's an example: I open a file with gedit, I type in, Sensors, ...
0
votes
3answers
873 views

XP Pen PenTablet driver installing issues on Ubuntu 16.04

I'm new to Linux. I have been trying to install drivers for my XP Pen G640, because the tablet doesn't work correctly with my current system (Ubuntu 16.04.05). Now, they have provided a Beta version ...
2
votes
2answers
754 views

How to install AMD C-60 tweaking script for Linux

I am a new user running Lubuntu 64-bit alternate. My computer has an AMD C-60 CPU. How to install AMD C-60 tweaking script for Linux?
0
votes
1answer
73 views

How to make a .sh file that installs something?

I want to make a .sh file that installs a package. Do I have to write this this?: #!/bin/sh # start a terminal session in the background sudo apt-get install thepackage exit 0
0
votes
2answers
73 views

Why bash files are not executed?

Why bash are not executed when I double click on them? They are executable but they are not executed. Instead they are opened with gedit.