Monday, August 4, 2008

Linux Interview Questions & Answers

what command you execute to display the last five commands you have entered? Which partitions might you create on mail server HDDs other than the root, swap and boot partitions? Which partitioning tool is available in all distributions? Which two commands can you use to delete directories? Which file defines all users on your system?
View Answer
What is the minimum number of partitions you need to install Linux? What command can you use to review boot messages?
View Answer
Describe the boot process of your favorite Linux in as much detail as you can.
View Answer
To display a list of all manual pages containing the keyword "date", what command would you type?
View Answer
What is the real mean of DHCP?
View Answer
What is difference between user right and user permission?
View Answer
What is difference between AT and CRON?
View Answer
how we can configure sata hard drieve during redhat 9 installtion.
View Answer
I have created a file with vi editor with -x option. #vi -x hello.sh This is an encrypted file with password. when i again open this file, it ask me to enter a password before editing it. Can i remove that password, but i dont want to delete that file.
View Answer
Who owns the data dictionary?
View Answer
Which daemon controls the network service -> POP3 mail service? A) inetd B) pop3d C) maild D) nntpd E) pmaild
View Answer
What would you type to send the last 20 lines of a text file to STDIN? A) end -n 20 filename B) last -n 20 filename C) head -20 filename D) end -20 filename E) tail -20 filename
View Answer
Which two commands can you use to delete directories? A) rm B) rm -rf C) rmdir D) rd E) rd -rf
View Answer
Which command do you use to change runlevels? A) initlevel B) runlevel C) level D) run E) init
View Answer
What do you type to stop a hung process that resists the standard attempts to shut it down? [Choose all correct answers] A) kill PID B) quit C) kill -9 PID D) exit E) Ctrl+C
View Answer
Which of the following commands can you use to cleanly restart a Linux machine? [Choose all correct answers] A) reboot B) init 6 C) init 0 D) shutdown -r E) shutdown -h
View Answer
What command would you use to create an empty file without opening it to edit it? A) open B) vi C) pico D) touch E) edit
View Answer
Which shell do you assign to a POP3 mail-only account? A) /bin/false B) /bin/sh C) /bin/bash D) /bin/pop E) /bin/pop3
View Answer
Which file do you edit to set up a printer? A) /etc/printtab.conf B) /etc/print.conf C) /etc/lp.conf D) /etc/printtab E) /etc/printers
View Answer
Which file do you edit to set partitions to mount at boot time? A) /etc/fstab B) /etc/services C) /etc/smb.conf D) /etc/fstab.conf E) /etc/mount.conf

No comments: