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

48
votes
4answers
174k 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
46
votes
4answers
364k 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 ...
45
votes
6answers
15k 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 ...
37
votes
6answers
55k 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 ...
35
votes
3answers
130k 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?
32
votes
3answers
40k 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: ...
23
votes
13answers
62k 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?
17
votes
4answers
17k 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 ...
15
votes
3answers
86k 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 ...
13
votes
1answer
894 views

./ vs . for running programs under terminal

I'd need some clarification regarding the way we run executables under the terminal. This might be a lame question but what is the difference between running an executable with ./an_executable and . ...
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, ...
11
votes
3answers
64k 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 ...
11
votes
6answers
20k 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 manufacturer web site is supposed to be Operating System independent! Yet using Wine I could not execute the ...
10
votes
1answer
3k 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.
10
votes
4answers
10k 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
439 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
3answers
16k 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
6answers
13k 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 ...
8
votes
2answers
18k 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
2answers
1k 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?
7
votes
5answers
48k 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 ...
7
votes
1answer
8k 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?
7
votes
2answers
4k 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.
7
votes
6answers
24k 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
3answers
5k 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
1answer
36k 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. ...
6
votes
2answers
8k 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
2answers
3k 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 ...
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
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 ...
5
votes
4answers
1k views

How do I make an entire directory executable?

I have an entire folder dedicated to python scripts. I'm tired of doing chmod on every new python script that I write. Is there a way to make every file inside my folder executable if it is a python ...
5
votes
3answers
7k 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 ...
5
votes
2answers
6k 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 ...
5
votes
1answer
935 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
744 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
4answers
6k 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, ...
4
votes
2answers
3k 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
6k views

Problem with Mono and .exe file

I have purchased a piece of software to configure programable radio control transmitters. It says it will run on Linux, see below: Digital Radio runs on: Microsoft Windows 2000/2003/XP Microsoft ...
4
votes
1answer
4k 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: ...
3
votes
1answer
210 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
8k views

Setting permission for NTFS partition [duplicate]

I have a NTFS partition on my PC. It shares data between Linux and a Windows dual boot system. My /etc/fstab line for that is: #Mount Dati at boot= UUID=01CD9E64E80BD460 /mnt/Dati ntfs ...
3
votes
2answers
3k views

Can't make a file executable

I'm using Ubuntu 12.04 64bit and I'm trying to make a file executable, but when I check the "Allow executing file as program", the check mark appears then disappear spontaneously. If it could help, my ...
3
votes
3answers
206 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
167 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
2answers
4k 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
2answers
9k views

“No such file or directory”, but the file exists

I copied some files to Ubuntu (running on VirtualBox). Trying to open the said copied files and get an error. I'm not entirely sure how the file directory system works, but I used cp command to copy ...
3
votes
3answers
512 views

Ubuntu Equivalent of portable executable file

I am developing an application which had some dependency and for that i use external tools. One example is that i use putty's commandline tool plink.exe to telnet/ssh remote machine from java program. ...
3
votes
1answer
2k views

How do I make a desktop icon to launch a program?

Have an interesting issue. I am VERY new to Ubuntu and Linux systems. I have only been running linux on my laptop for a couple of months. Here is what I am trying to do - I recently installed google ...
3
votes
2answers
3k 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
411 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 ...