FAQ on Linux Interview questions
1 What best describes the purpose of the .htaccess file?
Ans: To password protect a web directoryTo limit access to the web directory from specified IPsTo override default web
server configuration optionsTo store variables for use by the web server
2 Which of the following commands can you use to see the amount of swap space that is being used on your system?
Ans: /proc/freefreems/proc/memuse
3 Which of the following entries would you add to the hosts.allow file to give access to the web server from a network of 10.10.10.0?
Ans:
http: 10.10.10.
smtp: 10.10.10.
http: 10.10.10.1
http - 10.10.104
4 A process called 'elix' is running with process id 402.
Which directory contains information about the process?
Ans:
/var/log/run/402//proc/elix//var/tmp/402/proc/4025
6 When you point your web browser to a CGI script you receive an Internal ServerError. Which of the following is least likely to be the cause of the problem?
Incorrect permissions on the CGI script
A failure of the web server
A syntax error in the CGI script
The CGI script printing text before printing the CGI header
ANS: Incorrect permissions on the CGI scriptA failure of the web serverA syntax error in the CGI scriptThe CGI script printing text before printing the CGI header
7 In the /etc/passwd file, what is the significance of an X in the password field?
Ans: It indicates that the password is set to X It indicates that the password is shadowed It indicates that the account is disabled It indicates that the password has yet to be set on this account
8 What is the purpose of the SUID permission?
Ans: It allows a file to be executed with the supervisor permissionIt allows a file to be executed with the permissions of the ownerIt allows a file to be executed with the permissions of a groupIt allows a file to be executed with the permissions provided on the command line
9 What is the significance of square brackets around a process when looking at alisting produced by the ps command?
Ans: The process has diedThe task is a kernel task and cannot be killed The task is sleeping
1 What best describes the purpose of the .htaccess file?
Ans: To password protect a web directoryTo limit access to the web directory from specified IPsTo override default web
server configuration optionsTo store variables for use by the web server
2 Which of the following commands can you use to see the amount of swap space that is being used on your system?
Ans: /proc/freefreems/proc/memuse
3 Which of the following entries would you add to the hosts.allow file to give access to the web server from a network of 10.10.10.0?
Ans:
http: 10.10.10.
smtp: 10.10.10.
http: 10.10.10.1
http - 10.10.104
4 A process called 'elix' is running with process id 402.
Which directory contains information about the process?
Ans:
/var/log/run/402//proc/elix//var/tmp/402/proc/4025
6 When you point your web browser to a CGI script you receive an Internal ServerError. Which of the following is least likely to be the cause of the problem?
Incorrect permissions on the CGI script
A failure of the web server
A syntax error in the CGI script
The CGI script printing text before printing the CGI header
ANS: Incorrect permissions on the CGI scriptA failure of the web serverA syntax error in the CGI scriptThe CGI script printing text before printing the CGI header
7 In the /etc/passwd file, what is the significance of an X in the password field?
Ans: It indicates that the password is set to X It indicates that the password is shadowed It indicates that the account is disabled It indicates that the password has yet to be set on this account
8 What is the purpose of the SUID permission?
Ans: It allows a file to be executed with the supervisor permissionIt allows a file to be executed with the permissions of the ownerIt allows a file to be executed with the permissions of a groupIt allows a file to be executed with the permissions provided on the command line
9 What is the significance of square brackets around a process when looking at alisting produced by the ps command?
Ans: The process has diedThe task is a kernel task and cannot be killed The task is sleeping
please enter the answer also..
ReplyDeleteYes Rajesh now its updated .. thanks for the comment
ReplyDeleteWhere r the answers..?
ReplyDelete