⟩ If you are a root user, how can you grand execute permission only for the owner of the file project1? a. chmod +x project1 b. chmod u+x project1 c. chmod a+x project1 d. chmod U+X project1
b. chmod u+x project1
b. chmod u+x project1
Shared libraries can be shared between a) various running programs b) only 2 running programs c) only 8 running programs d) none of the mentioned
Libraries can be linked with ____ to create executables. a) other libraries b) other object files c) both (a) and (b) d) none of the mentioned
In linux, shared library is a a) text file b) binary file c) device file d) none of the mentioned
In GCC compiler, "-shared" option is given to create the shared library with a) source files b) object files c) executables d) none of the mentioned
After using the shared library, memory can be done free by calling a) dlclose b) slclose c) lclose d) none of the mentioned
When a program is linked with a shared library a) only a small table is created in the executable b) executable contains the whole content of respective .so file c) executable contains nothing related with the shared libraries d) none of the mentioned
For a shared library, version number is changed when a) changes done in code make the shared library incompatible with the previous version b) changes done in code does not make the shared library incompatible with the previous version c) when minor number is changed d) none of the mentioned
Which command can be used to update the shared library system? a) lconfig b) ldconfig c) slconfig d) none of the mentioned
Shared libraries are linked with the program a) at the time of creation of executable b) at the run time c) both (a) and (b) d) none of the mentioned
Which option of GCC compiler provides the linking with shared libraries? a) -lmylib b) -lib c) -mylib d) none of the mentioned