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
0
votes
2 answers

How to execute a .sh file in Ubuntu 14.04 LTS?

I have tried executing this file with every possible alternative but still no luck.chmod +x file.sh, ./file.sh and also checked permissions window everything looks fine. error looks like this --> sh: 0: Can't open ./file_name.sh
newto10
  • 1
  • 1
  • 1
0
votes
1 answer

Cannot install .sh file

I am new to Ubuntu. I am trying to install a program. The "readme.txt" file says: to run program, write correct paths in the "program.sh" file (path to the library ".../program/lib/" and to the executable file ".../program/program"). and when…
Samaneh
  • 13
  • 1
  • 5
0
votes
1 answer

Problem opening .sh files

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
2 answers

I can't install a .sh file

I can't install a .sh file. When I double click the file then it is open with archive manager not get any run or run in terminal option. I also checked the permission on allow executing file as program
bechitra
  • 51
  • 2
  • 2
  • 7
0
votes
2 answers

.sh file opens with emacs instead of running

I installed Android studio, and this program starts from the studio.sh file. If I run it from the terminal it goes well, but if I double click on it, this file is opened with emacs. Why?
giacomotb
  • 209
  • 2
  • 5
  • 11