Skip to main content
added 3 characters in body
Source Link
Costas
  • 15k
  • 24
  • 38

What kind is file you can see by following command

file xyzexample

Executable bit is a different thing. You can see it by

ls -l xyzexample

or

stat xyzexample

For simple understanding it the right to execute file by call it just by name

xyzexample

will execute programm listed in file. Without this bit you are still able to execute it but in different way, for example

bash xyzexample

Please note, that if the programm file there isn't in folders listed in special variable PATH you should indicate the full path for the file:

bash /usr/bin/xyzexample

What kind is file you can see by following command

file xyzexample

Executable bit is a different thing. You can see it by

ls -l xyzexample

or

stat xyzexample

For simple understanding it the right to execute file call it just by name

xyzexample

will execute programm listed in file. Without this bit you are still able to execute it but in different way, for example

bash xyzexample

Please note, that if the programm file there isn't in folders listed in special variable PATH you should indicate the full path for the file:

bash /usr/bin/xyzexample

What kind is file you can see by following command

file xyzexample

Executable bit is a different thing. You can see it by

ls -l xyzexample

or

stat xyzexample

For simple understanding it the right to execute file by call it just by name

xyzexample

will execute programm listed in file. Without this bit you are still able to execute it but in different way, for example

bash xyzexample

Please note, that if the programm file there isn't in folders listed in special variable PATH you should indicate the full path for the file:

bash /usr/bin/xyzexample
Source Link
Costas
  • 15k
  • 24
  • 38

What kind is file you can see by following command

file xyzexample

Executable bit is a different thing. You can see it by

ls -l xyzexample

or

stat xyzexample

For simple understanding it the right to execute file call it just by name

xyzexample

will execute programm listed in file. Without this bit you are still able to execute it but in different way, for example

bash xyzexample

Please note, that if the programm file there isn't in folders listed in special variable PATH you should indicate the full path for the file:

bash /usr/bin/xyzexample