executable

A file the operating system can load and run as a program, such as a compiled binary or a script with execute permission.

In more detail

Running it creates a process with the program loaded into memory. On macOS and Linux a file becomes executable when its execute permission is set, for example with chmod +x, and a script also needs a shebang line naming its interpreter. On Windows, executables usually end in .exe.

Related terms

Taught in

References