Okay, relatively new Linux User here. (Messed around with Linux for ages, looking for more depth)
I know that all files in Linux can be executed if they have the executable bit.
What are these files? For example, in /usr/bin
there is a xyzexample
file. Is this file pure binary, or is it a middle language such as assembler or C?
Now that file links to a lib in /usr/lib
how is said linking done? The files in the dir are .o files. This is object files like binary or machine code correct?
Now, I execute xyzexample
. How does the execution sequence work? How does it link and start the program?
xyzexample
could even be a script.