An executable is a program contained in one file. This file is often referred to as an executable because of the Windows extension for executables(.EXE).

learn more… | top users | synonyms

42
votes
6answers
10k views

What is the difference between ./ and sh to run a script?

I have written a simple script. When I runsh <myscriptname.sh>, i got the correct output, but when I run ./<myscriptname.sh>, I got an error. What is difference between when I do sh and ...
34
votes
4answers
238k 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 ...
32
votes
4answers
99k views

No such file or directory? But the file exists!

I've downloaded a game (Shank) but the bin file doesn't run. The error that is shown when I try to launch the executable is: bash: ./shank-linux-120720110-1-bin: No such file or directory
26
votes
3answers
30k views

No such file or directory for existing executable

I just upgrade to Ubuntu 11.10 x64 from Ubuntu 11.04 32bit. But I find a really annoying problem. When I drag executable from file explorer to shell, the shell says bash: ...
24
votes
5answers
31k views

How to execute a script just by double clicking like .EXE files in Windows?

How can I make a bash script executable by double clicking just like .exe files in Windows? I tried creating a launcher and assigning the script to it, but there are two consequences: the terminal ...
19
votes
8answers
35k views

What is the equivalent of an “exe file”?

I don't know what the exact executable file extension is. Is it .deb or .tar.gz? Can anyone on Ask Ubuntu help?
16
votes
4answers
11k views

Where can I find the application executables in the filesystem?

Where are executables for programs stored in Ubuntu? An application (Komodo Edit) is asking me to identify an application to be used as a web browser. I've become used to just entering the ...
14
votes
2answers
59k views

Bash: ./filename : Cannot execute binary file

I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is Bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone ...
12
votes
0answers
9k views

Why does Ubuntu fail to run .exe files? / How do I run .exe? [duplicate]

So, I just built my PC today, and am only using Ubuntu until I get Windows installed (sorry, guys!) But when I go to click on any .exe file, nothing happens. It just sits there. No error message, ...
10
votes
4answers
7k views

How can I run an executable from a CD when it doesn't have the executable bit set?

A textbook I'm using came with a CD containing a few supplementary applications. To my pleasant surprise, it appears to include an installer for Linux. The readme file on the CD provides the ...
10
votes
4answers
376 views

How do I list commands a package provides? [duplicate]

I'm curious what commands a certain package provides my system with. By command, I mean an in-path executable that I can run from the command line (ls, grep, sed, etc). I'm not trying to work out the ...
9
votes
1answer
2k views

Dependency Walker for ubuntu

Is there a tool like Windows DependencyWalker for Ubuntu ? I would like to see all shared libraries my executable depends on.
9
votes
2answers
12k views

Why does Ubuntu refuse to execute files from an NTFS partition?

I mount an NTFS partition (where I've got some Linux binaries and scripts alongside with Win32 and data files) with the following fstab line: /dev/sda5 /mnt/dat ntfs-3g ...
8
votes
3answers
21k views

How do I create a script file for terminal commands?

In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this ...
8
votes
2answers
14k views

Trying to make file executable on USB, but the permission doesn't “stick” [duplicate]

Possible Duplicate: How to 'chmod' on an NTFS ( or FAT32 ) partition? I'm using LastPass as my password manager, and I use Sesame for multifactor authentication. On Windows this was ...
7
votes
6answers
8k views

How do I execute a file from a FAT USB drive?

I'm trying to install a portable app onto my USB drive such that it is compatible with both Ubuntu and Windows (specifically, a program called eToys). Support is already built into the app for both ...
7
votes
6answers
12k views

How to flash a BIOS when only a Windows binary is provided?

I want to update the BIOS on Toshiba QOSMIO-G30. The exe file that i downloaded from the manufacture web site suppose to be OS independent! Yet using Wine Loader could not execute the file. Is there ...
7
votes
5answers
38k views

Can't execute .out files, getting permission denied

I have written a C++ program and complied it to produce a.out file. However, whenever I try to run it, I get Permission Denied. I read that we can use sudo, but I can't quite get it to work. I use ...
6
votes
3answers
4k views

How do I mark a file as executable via a GUI?

How do I mark a file as executable using a graphical interface (GUI)?
6
votes
2answers
929 views

An exe file that I want to run on linux made for windows comes up as a Trojan on VirusTotal - how would I run it without it affecting my system?

Is there any way that I can run this program on my Linux system without possibly getting a virus?
6
votes
2answers
6k views

How to create deb installer from tarballs? [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? there are several tarballs (e.g. Firefox, Eclipse, Zend Studio and ...) that have executable file within, that easily we can extract ...
6
votes
3answers
14k views

How to make a file (e.g. a .sh script) executable, so it can be ran from 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?
6
votes
6answers
16k views

Why does gedit window open when I double-click a program file, “start-tor-browser”? [duplicate]

When I double-click the file, "start-tor-browser," the only thing that happens is a gedit window opens and displays a ton of programming code. The program does not execute. How to I make ...
6
votes
2answers
2k views

How can I execute a file without execute permissions?

How can I execute a file without giving myself execute permissions (with chmod u+x) for it? If I try and tick the 'Allow executing file as program' checkmark, the checkmark is immediately removed.
6
votes
1answer
1k views

ubuntu upstart script execute a script.py program

I'm creating an upstart script to execute a python program I've written. When the service is starting I want to echo starting service - script.py... and echo the process id of the program once ...
5
votes
1answer
6k views

How to run ctags?

I've installed exuberant-ctags package, but when I run ctags, etags or exuberant-ctags, I always get command not found. Where can I find executable file to run exuberant-ctags?
5
votes
1answer
619 views

launching executable from /usr/local/bin needs access to local file

I have an executable, called "octane", that I want to be able to launch globally. The executable requires access to a local binary, "octane.dat", in order to run. I placed the directory containing ...
5
votes
1answer
560 views

How to force Dolphin to not execute executable files

Dolphin has a nasty habit to execute whatever executable file I accidentally click on. How to turn off this behavior? Is there anything like in Nautilus which would allow to select appropriate action? ...
4
votes
2answers
2k views

I'm getting «exec format error» when I try to run an executable

I installed Trusty (daily build) a couple days ago and, though overall I'm pleased, I've run into some problems running some standalone apps (not installed) that used to work just fine in 13.10 before ...
4
votes
2answers
4k views

How to find the executable file of an app if 'whereis' is not showing it?

This basically to do with cuttlefish(The app from showdown) in this case. I cant find the location of the executable file for it. The command whereis did not give any results! I want to add it to ...
4
votes
2answers
2k views

Setting execute permisions on a mounted image

How do you set execute permissions on a .exe that is on a mounted image (.ISO file)?
4
votes
1answer
157 views

Running executable file from terminal

I am new to Ubuntu and currently I am trying to run executable files from the terminal but nothing is happening. When I am listing the files in the current directory I am obtaining the following: ...
4
votes
2answers
2k views

“No such file” when running a 32-bit program on a 64-bit system

I downloaded a Chromium snapshot and unzipped it, like this: michael@ubuntu:/opt/chrome-linux$ ls chrome libffmpegsumo.so nacl_irt_x86_32.nexe chrome.1 ...
3
votes
1answer
173 views

What is the difference between `command` and `./command`?

I found that sometime I use the command to run a command, but sometime I use the ./command to run another command. What is the difference?
3
votes
1answer
3k views

How to make a file executable? [duplicate]

How can I make my file so that I can double click on it, and it runs. It is a .sh script, but I also have files that say: executable (application/x-executable) in the description of what they are. ...
3
votes
3answers
188 views

What type of file am I looking for when attempting to add an executable to startup applications?

I know in Windows it's a .EXE, what about Ubuntu? Specifically I removed the startup application hook for Docky and for whatever reason Docky won't add it back in, so I want to add it back in ...
3
votes
1answer
87 views

Bash script callable from home but not scripts directory

I'm having a very weird error when trying to make a script callable. I have a scripts directory in /srv/projectname/scripts where I store you know scripts to be called as cron jobs for different ...
3
votes
4answers
110 views

making a bash script executable programatically

I need to create a bash script to create and mount a drive. So, two simple commands. Both "work" when entered at the command line. The script is created and executed every time a normal user logs in, ...
3
votes
2answers
2k views

Running executable txt.file in terminal by default

Basically, I have the code I need to run the thread to start my Minecraft server in an executable text file. When I click it, it asks me what I want to do with it: Run In Terminal, Display or just ...
3
votes
1answer
304 views

How to run Doom3 BFG executable?

I installed Doom3 BFG edition the way it said over here. The whole procedure was carried out as instructed. When I double clicked the executable file, my computer didn’t know how to open it so ...
3
votes
1answer
1k views

PATH not working even after successfully modifying it

For some reason I am successful in adding new directories to my $PATH but when I run the commands in the terminal the $PATH doesn't summon them. I modified the $PATH in the ~/.bashrc file, and added ...
3
votes
2answers
1k views

How to make all new files in a directory executable

I want a way by which whenever I create a new file in a particular directory, I want it to be executable by default. Is this even possible, if so how?
3
votes
2answers
2k views

.x86 file not executing

I've tracked down a game named superhot and downloaded zipped Linux version. I unzipped it and there was a directory named SUPERHOT-LINUX_Data and file with extension .x86. I went to properties and ...
3
votes
1answer
2k views

How do you make the contents of ISOs mounted by the Archive Mounter Executable?

The Archive Mounter feature in recent Ubuntu editions is great: you just use it on any *.iso file and it mounts it as if you'd put a CD in the drive ... well, almost. If you want to just read the ...
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 ...
2
votes
2answers
808 views

How to edit files in /usr/bin?

Correct me if I'm wrong, but one of the directories in which commands are stored in Ubuntu is /usr/bin. I tried viewing one of the ELF 64-bit LSB executable files (synergy) with nano but all I see is ...
2
votes
4answers
863 views

How do I run an executable Truecrypt file from a pendrive?

I am trying to run Portable Truecrypt from a USB Pendrive. I already extracted the package and all but the only way I can really open Truecrypt portable is if the executable is somewhere in my home ...
2
votes
2answers
2k views

All files on automounted NTFS partition are marked as executable

I have set up an NTFS partition to automount via fstab: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with ...
2
votes
1answer
1k views

How do I change how executable files are handled by the file manager?

When I double click on text files, nautilus asks me what I would like to do with them. I find this to be intrusive, as I just want them to open. How can I fix this? Note: This question is a ...
2
votes
2answers
1k views

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 ...