answersLogoWhite

0

Check for the executable permission. ls -l will tell you the precise permissions of a file. On the very end of the permissions string, an executable will have an x there.

Linux does not determine things like executability the same way Windows does. While Windows will happily (And blindly.) treat a file as an executable when it has certain file extensions, Linux thinks instead about two things: Whether it has a certain permission to run, and if its "interpreter" is available.

Yes, even precompiled binaries run this way. In their case their "interpeter" is merely the loader that passes the program to the kernel for launch.

There is a way to run scripts in Linux without the execute permission, and that's by invoking their interpreter directly yourself, such as the command:

$ python2 /path/to/python/program.py

In this case to Linux you're merely running python with the program you want as an argument.

This does NOT work for precompiled binaries, which MUST be given executable permissions to load and run.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Is Linux a operating system?

Yes. Linux is a computer operating system.


Is Mobile Linux Operating System powerful and Why?

Linux is not an power full Operating system XP is the most powerfull operating system


What are the functions of the three system components in the Linux operating system?

1. There is no the Linux operating system.2. Only one component is strictly necessary to make a Linux operating system - the kernel.


What is the difference between Linux and an operating system?

Linux is an operating system kernel. It is a portion of the software that makes up a complete operating system.


What is a Linux based operating system designed by Google?

No, it is not OS is not a Linux based operating system. Giggles is a search engine and created Chrome Operating system. Linux is its own brand of operating system.


What is the current version of Linux operating system and the name of its distro?

there is no "linux operating system". linux is merely a kernel that operating systems can be built upon, of which there are dozens if not hundreds


What is the example of disk operating system?

is linux a disk operating system


Is Linux a network operating system?

Yes, it can be a networking operating system


What system type is Linux?

operating system


What is the core component of the Linux operating system?

The Linux kernel.


What is the procedure of execute a script in shell in ubantu?

For any Unix or Linux based operating system, make the text file readable and executable and then invoke (call) it by the file name, which will execute the script.


What are the kinds of Linux operating system errors?

There aren't any errors specific to Linux. Linux has the same types of bugs found in every other operating system.