Linux Operating System Management

  Home  Operating System Linux  Linux Operating System Management


“Linux OS Management frequently Asked Questions by expert members with experience in Linux Operating System Management. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts”



99 Linux Operating System Management Questions And Answers

22⟩ If one of the thread in multi-threaded process is blocked on an I/O, which of the following is true? a) The entire process with block if their is no kernel supported threads b) Other threads of the process will continue to execute even if there is no kernel supported threads c) It depends on specific implementatation d) All of the above

a) The entire process with block if their is no kernel supported threads

 220 views

23⟩ Given a code snippet below? #define PERMS (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) int main() { int fd1, fd2; umask(0); fd1 = open("file1", O_CREAT | O_RDWR, PERMS) umask(S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); fd2 = open("file2", O_CREAT | O_RDWR, PERMS) return 0; } The newly created files file1 and file2 will have the permissions respectively a) rw-rw-rw- r--- b) r--- rw-rw-rw- c) rw-rw-rw- rw--- d) None of the above

c) rw-rw-rw- rw---

 204 views

37⟩ There are two hard links to the "file1″ say hl and h2 and a softlink sl. What happens if we deleted the "file1″? a) We will still be able to access the file with hl and h2 but not with sl b) We will not be able to access the file with hl and h2 but with sl c) We will be able to access the file with any of hl, h2 and sl d) We will not be able to access the file with any of hl, h2 and sl

a) We will still be able to access the file with hl and h2 but not with sl

 238 views