Written by: Score: 30 votes: 39 Format: Article How to execute *.sh files on Linux Hey everyone, this is a very simple tutorial which shows you how to execute.sh files step by step: 1)First of all, download the file that you are going to execute e.g. 'name_of_file.sh' and save it in your Desktop 2)Secondly open the Terminal from Menu Accessories Terminal 3)Now type cd ~/Desktop (With this command we change the default directory '/' to '/Desktop') 4)Then type chmod +x name_of_file.shto make your file executable. 5)Then type sh./name_of_file.sh to execute the file. 6)After that continue as usual. I hope this tutorial will be of a great help to you all.
Tags:.sh files Created: 7 years ago. Last edited: 5 years ago. Reviewed: 6 years ago.
How can the answer be improved? How to run.sh on Windows Command Prompt? (.sh) scripts on Windows and that's the only way I've run my.sh files on Windows. – ha9u63ar Oct 23 '14 at 7:05. It's possible that the problem is actually within the file name.sh-- you are trying to use the. Command but it is attempting to run a kind of shell (e.g., csh, I think) in which that's not a valid command.
This short video shows multiple ways to run a '.sh' file in Linux. How to Open.SH Files System Information: Your machine is currently running: Windows. This repair tool is compatible with your operating system.
Comments 4 years ago thx 5 years ago It's rather copy to Desktop folder and make it executable than install..sh is shell script. It doesn't need to be 'installed'. Step 3 is wrong. With cd ~/Desktop you won't change to /Desktop directory. You go to the $HOME/Desktop which is completly different game. Anyway, you can put sh script anywhere, where you are able to write. There is no need to have it on the Desktop.
Demote 5 years ago It's up to you if you want to run your *.sh file outside the terminal. 5 years ago @Gijsdemik I updated my post. 6 years ago Hello. Mint updated Firefox to the latest version (12), but failed to change its language from English to Spanish, as all other apps and desktop items did flawlessly. After 20 minutes of fruitlessly searching some terminal command that would force Firefox to acknowledge the language change, I opted to manually download the darn thing and now I'm faced with the following: $sudo sh run-mozilla.sh -->run-mozilla.sh: Cannot execute. Setup: Firefox 12 for Linux, downloaded from www.firefox.com Linux Mint 12 64-bit, using GNOME Classic / MATE Thanks in advance!
NOTE: Everybody is politely asked to please refrain from replying with any of the customary, albeit totally useless, Linux replies: - 'Why not use instead X app?' (because I want THIS app. Period.) - Presenting another Distro's (or version's) positive outcome. - Flaming comments (they will be prosecuted with no exceptions) - Redirecting to an external link (I too used google, so no thanks.) - Redirect to use man pages (see previous.) - Try to showoff by asking for a cryptic system log output.
99% of the time they never produce a *usable* follow-up answer. 6 years ago It is really weird that I didn't have to do this when I was using openSUSE, but I had to do this with the LMDE.
But, Mint is a much better OS than SUSE, so I am not complaining. Other tutorials from efthialex • • • • • • • • •.
How to Open.SH Files System Information: Your machine is currently running: Windows. This repair tool is compatible with your operating system. Symptoms Inability to open.SH files and other critical malfunctions can arise when the Windows operating system becomes overloaded with invalid system references, as well as corrupted and deleted registry files. These problems commonly occur due to a lack of regular PC maintenance. As a computer operating system gets older, errors and crashes start to become more frequent and problematic. Solution Our recommended solution is to. This tool has been designed to diagnose and repair various Windows issues while simultaneously increasing system performance, optimizing memory, improving security and fine tuning your PC for maximum reliability.
Download available to fix.SH file errors. Recommended: To repair.SH file errors, use this software package;. This repair tool has been proven to identify and fix.SH file errors and other Windows problems with very high efficiency. File Size: 592KB (About 3 seconds on broadband connection) Requirements: Windows 10, 8, 7,Vista, XP, ME, 2000 (32/64) Downloads: 98,768+ Download Time: (dsl, 5 sec, dialup 3 min) What causes errors and performance problems? Windows errors can occur for a number of reasons, including programs not installing or uninstalling properly, malware, system conflicts, Active X errors, and the most common, registry errors.
Ms Works Full Version more. PC registry errors occur over time due to the constant writing, editing and deleting of information from your computer's registry over time as programs are installed, modified and removed. Over time, conflicts and errors can occur due to a buildup of unnecessary registry entries as well as partially deleted and incorrect information. Many malware and spyware programs can also cause unwanted changes to your PC registry, which leads to the errors and reduced PC performance you are likely experiencing.