McqMate
101. |
How would you switch to virtual terminal 1? |
A. | Ctrl+Alt+F1 |
B. | Alt+F1 |
C. | Ctrl+F1 |
D. | Shift+Ctrl+F1 |
Answer» A. Ctrl+Alt+F1 |
102. |
In which directory are the crontab files for users stored on suse linux? |
A. | /var/spool/cron/tabs |
B. | /usr/lib/cron |
C. | /usr/bin/cron/crontabs |
D. | /var/spool/cron/users/tabs |
Answer» A. /var/spool/cron/tabs |
103. |
How would you lock the user account named csm099? |
A. | usermod -l csm099 |
B. | usermod -L csm099 |
C. | usermod --l csm099 |
D. | usermod -lock csm099 |
Answer» B. usermod -L csm099 |
104. |
How do you copy an entire directory structure? E.g. from Project to Project.backup |
A. | cp -r Project Project.backup |
B. | cp -e Project Project.backup |
C. | cp -d Project Project.backup |
D. | cp -s Project Project.backup |
Answer» A. cp -r Project Project.backup |
105. |
.............is the command used to create new directory. |
A. | mkdir |
B. | newdir |
C. | dir |
D. | mk/dir |
Answer» A. mkdir |
106. |
Command used to create an empty file. |
A. | mtfile |
B. | touch |
C. | intouch |
D. | file |
Answer» B. touch |
107. |
Which is the commmand used to remove or delete file with out confirmation msg ? |
A. | rm-f |
B. | rm |
C. | del |
D. | remove |
Answer» B. rm |
108. |
........command is used to show the logger or user |
A. | ? |
B. | who |
C. | no of |
D. | ??? |
Answer» B. who |
109. |
"cat" is the command used to |
A. | change directory |
B. | move directory |
C. | come out of shell |
D. | see the contents of file |
Answer» D. see the contents of file |
110. |
What command, followed by the directory name is used to access that specific directory? |
A. | cp |
B. | cd |
C. | access |
D. | acs |
Answer» B. cd |
111. |
How would you show a list of files and directories that are inside the current directory. |
A. | list |
B. | listfiles |
C. | ls |
D. | lst |
Answer» C. ls |
112. |
What command allows you to logout of the system? |
A. | lgt |
B. | logout |
C. | logot |
D. | out |
Answer» B. logout |
113. |
You have written a shell script that must be run as root in order to work properly. What is the most secure way to give a normal user the ability to run this program? |
A. | Set permissions to 777 on the script |
B. | Make the user a member of the root group |
C. | Make the user the owner of the script |
D. | Set the SUID bit on the script |
Answer» A. Set permissions to 777 on the script |
114. |
Which of the following modes of operation exist in vi? |
A. | insert |
B. | type |
C. | search |
D. | remove |
Answer» A. insert |
115. |
Which of the following commands can be used to change the group owner of a file? |
A. | chown |
B. | chmod |
C. | chattr |
D. | attrch |
Answer» B. chmod |
116. |
Which command to use for complete details of a command on the shell? |
A. | help |
B. | ? |
C. | man |
D. | hlp |
Answer» C. man |
117. |
You need to change some settings on your Apache server. Which is the best tool to use for logging in remotely? |
A. | rsh |
B. | ssh |
C. | rlogin |
D. | telnet |
Answer» B. ssh |
118. |
Which of the following runlevels will reboot the system? |
A. | 0 |
B. | 2 |
C. | 4 |
D. | 6 |
Answer» D. 6 |
119. |
You want to change the permissions on the file named “fifteen” so that root has all permissions and they are denied all other users. Which command should you use? |
A. | chmod fifteen 700 |
B. | chmod 100 fifteen |
C. | chmod 700 fifteen |
D. | chmod fifteen 100 |
Answer» C. chmod 700 fifteen |
120. |
Your PC is unable to boot off the Linux install CD. Which utility should be used to create an installation boot floppy? |
A. | fdisk |
B. | cp |
C. | dd |
D. | tar |
Answer» A. fdisk |
121. |
Which of the following below are true functionalities of shell? |
A. | Authenticates user |
B. | Interprets commands |
C. | Allocates time and memory to programs |
D. | Only a and b |
Answer» B. Interprets commands |
122. |
Which of the following below are true functionalities of Kernel? |
A. | Allocates time and memory to programs |
B. | Authenticates user |
C. | Interprets commands |
D. | All choices are correct |
Answer» A. Allocates time and memory to programs |
123. |
To implement new application on IBM z/10. Which of the following options need to be considered if it to be implemented in Linux? |
A. | IBMz/OS outperforms Red Hat Linux in commercial workloads |
B. | IBMz/OS is more expensive, Linux is shareware |
C. | Red Hat Linux does not support all devices supported by IBMz/OS |
D. | z/OS is supported by IBM SupportLine, whereas Red Hat Linux can only be supported by Red Hat |
Answer» C. Red Hat Linux does not support all devices supported by IBMz/OS |
124. |
A process is identified by a unique |
A. | Pid |
B. | Id |
C. | processed |
D. | proid |
Answer» A. Pid |
125. |
Which command reduces the size of a file? |
A. | pzip |
B. | gcat |
C. | pgcat |
D. | gzip |
Answer» D. gzip |
126. |
Which of the following has greater market share of Linux SW/HW |
A. | Linux on z10 |
B. | Linux HP integrity server |
C. | Linux on AS/400 servers locate |
D. | Linux on DELL Xeon |
Answer» A. Linux on z10 |
127. |
Which of the following is the BEST way to set up SSH(Secure Shell) for communicating between System without needing passwords? |
A. | Use ssh-keygen for generating public-private keys. |
B. | Disable passwords on specific accounts that will use SSH. |
C. | Both A and B |
D. | None of the above |
Answer» A. Use ssh-keygen for generating public-private keys. |
128. |
Which command is used to see the online manual? |
A. | man |
B. | manual |
C. | *man |
D. | %man |
Answer» A. man |
129. |
The head command writes the first ____________ lines of a file to screen by default. |
A. | Five |
B. | Twenty |
C. | Ten |
D. | Fifteen |
Answer» C. Ten |
130. |
Which command is used to find what is in your home directory? |
A. | % List |
B. | % Is |
C. | % home |
D. | Either a or c |
Answer» B. % Is |
131. |
What is the shortcut to the home directory? |
A. | shift+cd |
B. | cd+enter key |
C. | alt+ctrl+cd |
D. | ctrl+cd |
Answer» B. cd+enter key |
132. |
What is used to search files for specified words or patterns? |
A. | Less |
B. | Srch |
C. | %src |
D. | grep |
Answer» D. grep |
133. |
Which character is used to match exactly one character? |
B. | * |
C. | ^ |
D. | ? |
Answer» D. ? |
134. |
The hierarchy of a series of directories branching in a user system starts from |
A. | home |
B. | root |
C. | /home |
D. | /root |
Answer» C. /home |
Done Reading?