Linux Makefile Interview Preparation Guide Download PDF
Linux Makefile frequently Asked Questions by expert members with experience in Makefile. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts
56 Makefile Questions and Answers:
Table of Contents
2 :: Which is an example for character special file?
a) Hard disk
b) CD-ROM
c) Terminal
d) Memory
c) Terminal
3 :: Which of the following is not correct statement regarding file types?
a) Hard links share same inode number
b) Soft links cannot be created across partitions
c) Socket files are Unix domain sockets
d) Character file is a special file
b) Soft links cannot be created across partitions
5 :: Which are the two types of device files?
a) Character & Block
b) Character & Socket
c) Block & FIFO
d) Input & output
a) Character & Block
8 :: Binary or executable files are:
a) Regular files
b) Device files
c) Special files
d) Directory files
a) Regular files
9 :: The directory file contains:
a) File names & File Sizes
b) File names & Inode Numbers
c) File names & Address
d) File names & Permissions
b) File names & Inode Numbers
10 :: When you use the ln command, which of the following occurs?
a) a file is created that points to an existing file
b) a file is created that is a copy of an existing file
c) a file is moved from one location to another
d) a file is renamed
a) a file is created that points to an existing file
12 :: srwxr-xrw- is a:
a) internet socket file
b) unix domain socket file
c) symbolic link
d) shared file
b) unix domain socket file
13 :: The permission -rwxr-r- represented in octal expression will be:
a) 777
b) 666
c) 744
d) 711
c) 744
14 :: The file permission 764 means:
a) Every one can read, group can execute only and the owner can read and write
b) Every one can read and write, but owner alone can execute
c) Every one can read, group including owner can write, owner alone can execute
d) Every one can read and write and execute
c) Every one can read, group including owner can write, owner alone can execute
15 :: Effective user id can be set using following permission:
a) 0777
b) 2666
c) 4744
d) 1711
c) 4744
16 :: Effective group id can be set using following permission:
a) 0777
b) 2666
c) 4744
d) 1711
b) 2666
18 :: If user tries to remove (rm) a readonly file (444 permission), what will happen?
a) The file is removed successfully (and silently)
b) The rm command prompts for a confirmation, the command is successful upon confirmation
c) The rm command prompts for a confirmation, however the operation fails because of insufficient permissions
d) The rm command fails because of insufficient permissions
b) The rm command prompts for a confirmation, the command is successful upon confirmation
19 :: What is the command to set the execute permissions to all the files and sub-directories within the directory /home/user1/direct:
a) chmod -r +x /home/user1/direct
b) chmod -R +x /home/user1/direct
c) chmod -f -r +x /home/user1/direct
d) chmod -F +x /home/user1/direct
b) chmod -R +x /home/user1/direct