Linux Makefile Interview Questions And Answers

Download Makefile Interview Questions and Answers PDF

Prepare comprehensively for your Makefile interview with our extensive list of 56 questions. These questions will test your expertise and readiness for any Makefile interview scenario. Ideal for candidates of all levels, this collection is a must-have for your study plan. Secure the free PDF to access all 56 questions and guarantee your preparation for your Makefile interview. This guide is crucial for enhancing your readiness and self-assurance.

56 Makefile Questions and Answers:

Makefile Job Interview Questions Table of Contents:

Makefile Job Interview Questions and Answers
Makefile Job Interview Questions and Answers

1 :: All device files are stored in which directory?
a) /etc
b) /bin
c) /dev
d) /usr

c) /dev
Read More

2 :: Which is an example for character special file?
a) Hard disk
b) CD-ROM
c) Terminal
d) Memory

c) Terminal
Read More
b) Soft links cannot be created across partitions
Read More

4 :: Which is an example for block special file?
a) Virtual Terminal
b) CD-ROM
c) Terminal
d) Serial modem

b) CD-ROM
Read More

5 :: Which are the two types of device files?
a) Character & Block
b) Character & Socket
c) Block & FIFO
d) Input & output

a) Character & Block
Read More

6 :: Which directory contain device special files?
a /etc
b) /etc/dev
c) /root/bin
d) /dev

d) /dev
Read More

7 :: Which of the following is not a valid file type on Linux?
a) Socket
b) Soft-link
c) Inode
d) FIFO

c) Inode
Read More

8 :: Binary or executable files are:
a) Regular files
b) Device files
c) Special files
d) Directory files

a) Regular files
Read More

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
Read More

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
Read More
b) False
Read More

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
Read More

13 :: The permission -rwxr-r- represented in octal expression will be:
a) 777
b) 666
c) 744
d) 711

c) 744
Read More

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
Read More

15 :: Effective user id can be set using following permission:
a) 0777
b) 2666
c) 4744
d) 1711

c) 4744
Read More

16 :: Effective group id can be set using following permission:
a) 0777
b) 2666
c) 4744
d) 1711

b) 2666
Read More

17 :: The permission -rwSr-r- represented in octal expression will be:
a) 0777
b) 2666
c) 4744
d) 4644

d) 4644
Read More

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
Read More

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
Read More

20 :: Sticky bit can be set using following permission:
a) 0777
b) 2666
c) 4744
d) 1711

d) 1711
Read More

21 :: A user does a chmod operation on a file. Which of the following is true?
a) The last accessed time of the file is updated
b) The last modification time of the file is updated
c) The last change time of the file is updated
d) None of the above

c) The last change time of the file is updated
Read More

22 :: The permission -rwxr-sr- represented in octal expression will be:
a) 0777
b) 2766
c) 2744
d) 2754

d) 2754
Read More

23 :: If we want to execute the make-file by just giving the "make" command, make-file should be named as:
a) Make-file
b) makefile
c) MAKEFILE
d) none of the mentioned

a) Makefile
Read More

24 :: If the umask value is 0002. What will be the permissions of new directory:
a) 777
b) 775
c) 774
d) 664

b) 775
Read More

25 :: In make-file the comment begins with the character:
a) $
b) #
c) /*
d) none of the mentioned

b) #
Read More