Linux Interview Questions

Q16. In Unix ,the call pipe(p); is valid if p had been declared as
(a) int p
(b) int p[2]
(c) char *p
(d) FILE * p

Q17. Which of the following metacharacters will be recognized by the shell , even if it comes within double quotes
(a) $
(b) ?
(c) *
(d) None of the above

Q18. In Unix , Which of the following calls never return error
(a) getpid
(b) fork
(c) ioctl
(d) open

Q19. Which of the following displays the exit status of the last executed command in Unix
(a) echo $#
(b) echo $$
(c) echo $?
(d) echo $!

Q20. In Unix , which of the following programs are not interactive
(a) passwd
(b) sh
(c) grep
(d) All of the above

Q21. Which one is not a main task of kernel
(a) Process management
(b) I/O management
(c) Memory management
(d) Hard disk management

Q22. Ext4 in Linux is a
(a) folder name
(b) file system name
(c) memory name
(d) None of the above

1 2

Enter Email Address for Newsletter

Share On

facebook twitter google