6. The agency that sits between the user and the LINUX system is called the
Correct : B. shell
7. Which is the earliest and most widely used shell that came with the UNIX system?
Correct : C. Bourne shell
8. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
Correct : C. .profile
9. The seventh field of /etc/password is
Correct : C. shell
10. The UNIX file system stores a date in physical blocks of
Correct : B. 512 bytes
11. Which of the following is not the component of LINUX?
Correct : A. CPU
12. What hardware architectures are not supported by Red Hat?
Correct : D. Macintosh
13. How can you add Amit, a new user, to your system?
Correct : D. All of the above
14. How many primary partitions can exist on one drive?
Correct : B. 4
15. RPM
Correct : A. stands for Red Hat Package Manager
16. What command is used to query for a specific package with RPM?
Correct : A. rpm –q
17. What script is run for setting bash global defaults for all users?
Correct : D. /etc/profile
18. Who founded the Linux Kernel?
Correct : D. Linus Torvalds
19. ____ tool allows you to change your default X Window desktop.
Correct : C. Switchdesk
20. In what file can you specify which users are not allowed to access a system via FTP?
Correct : A. /etc/ftpusers
21. Which program is used to schedule particular jobs or programs at particular times on the
system?
Correct : D. cron
22. Which command can force all buffers to disk?
Correct : B. sync
23. How many extended partitions can exist on one drive?
Correct : D. 1
24. The location of some system configuration and system administrator executable files, is:
Correct : D. /sbin
25. The location for subdirectories for local programs and executables for user and administrative commands is:
Correct : A. /usr
26. LILO
Correct : D. All of the above
27. Which of the following tool is used to partition your hard drive?
Correct : B. fdisk
28. What command can be used to get information about yourself?
Correct : D. who am i
29. Which of the following tool allows the user to change the default X Window desktop?
Correct : A. Switchdesk
30. What command is used to halt a Linux system?
Correct : A. init 0
31. SVR4 was developed by
Correct : D. Sun and AT&T jointly
32. Which of these is not a Unix Flavor?
Correct : B. MAC
33. Which of the following statement is FALSE?
Correct : C. Shell takes care of inter process communication
34. Which of the following UNIX flavor is from IBM?
Correct : D. AIX
35. x86-32 uses which programming model?
Correct : D. ILP32
36. What are the sizes of (Integer/Long/Pointer) in LP64 programming model?
Correct : C. 4/8/8
37. Which among the following is used to write small programs to control Unix
functionalities?
Correct : B. Shell Script
38. What control character signals the end of the input file?
Correct : D. ctrl + d
39. How do the user gets the help about the command “cp”?
Correct : B. man cp
40. UNIX/Linux kernel is?
Correct : A. Monolithic
41. To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called
Correct : C. Buffer cache
42. At start of process execution, STDOUT & STDERR
Correct : A. Point to current terminal device
43. wtmp and utmp files contain:
Correct : B. User login-logout log
44. Which is the core of the operating system?
Correct : B. Kernel
45. ILP32 stands for
Correct : A. 32 bit Integer, Long & Pointer
46. Single Unix Specification Version 2 provides enhanced support for
Correct : C. 64 bit Unix
47. Under UNIX the key board is the default input device and the monitor is the default output device
Correct : A. True
48. Which among the following interacts directly with system hardware?
Correct : C. Kernel
49. Applications communicate with kernel by using:
Correct : A. System Calls
50. Solaris is the name of a flavor of UNIX from
Correct : D. Sun Microsystems
51. Which of the following commands is used to summarize the disk usage?
Correct : B. du
52. Which of the following commands is used to copy directory structures in and out?
Correct : C. cpio
53. Which of the following commands is used to change the working directory?
Correct : A. cd
54. Which of the following commands is used to count the total number of line, words and
characters contained in a file?
Correct : C. wc
55. Which of the following commands is used to list contents of directories?
Correct : A. 1s
56. Which of the following commands is used to list remove files?
Correct : B. rm
57. Which of the following commands is used to count just the number of lines contained in a
file?
Correct : A. wc – 1
58. Which of the following directories contain all the files created by a user, including his login directory?
Correct : B. /usr
59. Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?
Correct : B. cpwb collect mon ../misc
60. Which command is used to assign only read permission to all three categories of the file ‘note’?
Correct : C. chmodugo = r = note
61. Which command is used to make all files and sub-directories in the directory (prog)
executable by all users?
Correct : A. chmod –R a+xprogs
62. The chmodugo+rw note command can be represented in octal notation as
Correct : B. chmod 666 note
63. Which of the following commands is used to view the file 24 lines at a time?
Correct : A. pg
64. The second set of the three permissions (r-) indicates that
Correct : A. group has read permission only
65. The dmesg command
Correct : C. Kernel log messages
66. The command “mknodmyfifo b 4 16”
Correct : A. Will create a block device if user is root
67. Which command is used to set terminal IO characteristic?
Correct : D. stty
68. Which command is used to record a user login session in a file ?
Correct : C. script
69. Which command is used to display the operating system name ?
Correct : D. uname
70. Which command is used to display the unix version ?
Correct : A. uname -r
71. Which command is used to print a file ?
Correct : C. lpr
72. Using which command you find resource limits to the session?
Correct : B. ulimit
73. Which option of ls command used to view file inode number ?
Correct : D. –i
74. Find / -name ‘*’ will
Correct : A. List all files and directories recursively starting from /
75. In which directory can you store system user default files used for creating user
directories?
Correct : C. /etc/skel
76. What command do you use to create Linux file systems?
Correct : B. mkfs
77. What command is used to display the characteristics of a process?
Correct : B. ps
78. What command is used to list the files chap0l, chap02 and chap04?
Correct : C. ls - x chap0[124]
79. What command is used to add printing jobs to the queue?
Correct : B. lpr
80. What command is used to list contents of directories?
Correct : D. ls
81. Command used to determine the path of an executable file is
Correct : A. which
82. Command used to count number of character in a file is
Correct : B. wc
83. Which of these commands could you use to show one page of output at a time?
Correct : A. less
84. Which commands will give you information about how much disk space each file in the
current directory uses?
Correct : C. du
85. Which of the following command output contains userid?
Correct : D. ls –l
86. Which command is used to display all the files including hidden files in your current and
its subdirectories ?
Correct : A. ls –aR
87. Which of the following commands can be used to copy files across systems?
Correct : D. ftp
88. pwd command displays
Correct : C. present working directory
89. Which of the following commands can be used to change default permissions for files
and directories at the time of creation
Correct : C. Umask
90. Which tar command option is used to list the files in a tape archive format?
Correct : B. tvf
91. Which of the following commands will allow the user to search contents of a file for a
particular pattern
Correct : B. grep
92. Write the command to display the current date in the form dd/mm/yyyy.
Correct : A. date +%d/%m/%Y
93. Which one shows the name of the operating system?
Correct : C. uname -o
94. How do you add (append) a file “file1” to the example.tar file
Correct : C. tar -rvf file1 example.tar
95. How to execute ls command inside a vi editor?
Correct : C. :!ls
96. Which command gives the first byte where the difference is in the file1 & file2?
Correct : B. cmp
97. To open a file file1 with cursor at line number 4
Correct : A. vi +num file1
98. sed is a command typically used for
Correct : C. Modify/print selective contents of a file
99. What communication command provides communication to another user logged on by
writing to the bottom of their terminal?
Correct : A. talk
100. Which screen manipulation command sets the screen back to normal?