CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies

Search Interview Questions

Question: You are going to install a new hard disk in your system. Which of the following commands will halt your system so you can install the new hardware?
Choose one:

a. shutdown -k now
b. shutdown -h now
c. shutdown -r now
d. shutdown -t now

Answer: Answer: b

When using the shutdown command, you must specify when shutdown is to run. The -h option instructs shutdown to halt the system after the shutdown process is completed.



Category Linux Interview Questions & Answers - Exam Mode / Learning Mode
Rating (0.3) By 6698 users
Added on 12/11/2009
Views 57524
Rate it!
Question: You are going to install a new hard disk in your system. Which of the following commands will halt your system so you can install the new hardware?
Choose one:

a. shutdown -k now
b. shutdown -h now
c. shutdown -r now
d. shutdown -t now

Answer:

Answer: b

When using the shutdown command, you must specify when shutdown is to run. The -h option instructs shutdown to halt the system after the shutdown process is completed. Source: CoolInterview.com



If you have the better answer, then send it to us. We will display your answer after the approval

Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.

Post your answer here

Inform me about updated answers to this question.
Related Questions
View Answer
When booting your system after installing LILO you see LIL and then nothing happens. What could be the problem.
Choose one:

a. LILO loaded successfully but the kernel is corrupt.
b. LILO is not installed properly.
c. LILO could only complete the first stage, usually a geometry mismatch.
d. LILO could not load the map file, usually media failure.
View Answer
You changed /etc/lilo.conf to cause a boot: prompt to show, however, when you restart your computer you still do not have a prompt. What should you do?
Choose one:

a. Rename your configuration file to /etc/lilo.conf.new.
b. Install the configuration changes by issuing the command /sbin/lilo
c. Install the configuration changes by issuing the command /sbin/lilo -t
d. Install the configuration changes by issuing the command /sbin/lilo -u
View Answer
Part of your /etc/lilo.conf file is as follows:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
image=/boot/vmlinuz-2.0.36.0.7
label=linux
root=/dev/dha1
You would like to start in single user mode but you do not get a boot: prompt. What changes should you make to the /etc/lilo.conf file to make a prompt appear everytime you boot your system?
Choose one:

a. Add a line containing prompt.
b. Add a line containing a timeout.
c. Add a line containing prompt=30
d. Change the label to boot: instead of linux.
View Answer
What is the complete name of the default configuration file for LILO?
View Answer
You have made changes to the LILO configuration file but you are not sure the changes will work. How can you test the new configuration without installing it?
Choose one:

a. LILO -t
b. LILO -c filename
c. LILO -s filename
d. LILO
View Answer
You boot your system using LILO. Although you have four different boot images on your system, you cannot remember what you named them and you do not want to boot your default image. What should you do?
Choose one:

a. At the boot: prompt, press the Alt key.
b. Hold the shift key down when booting until you get a prompt.
c. At the boot: prompt, press the Tab key.
d. You have to boot your default image and then look at the configuration file.
View Answer
Which of the following statements is not true of LILO?
Choose one:

a. It can be used on a floppy to boot Linux.
b. It must replace the master boot record on your hard drive.
c. It will work with other operating systems such as DOS and Windows.
d. It can specify up to 16 different boot images.
View Answer
You have made changes to the /etc/inittab file after installing your UPS. How do you institute these configuration changes without having to reboot your computer or have your users log off?
Choose one:

a. Issue the command source /etc/inittab.
b. Change the runlevel to single user mode.
c. Issue the init q command.
d. The init daemon only reads its configuration file during boot.
View Answer
You have installed a new UPS (Uninterruptable Power Supply) and the powerd daemon. Which file should you use to define the steps to be taken in the case of a power failure?
Choose one:

a. /etc/ups.conf
b. /etc/inittab
c. /etc/power.conf
d. /etc/conf.ups
View Answer
Modules are pieces of kernel code that you can load or unload. What file do you use to pass parameters to a module?
Choose one:

a. /etc/conf.mod
b. /etc/modules
c. /etc/inittab
d. /etc/conf.modules
View Answer
Which of the following tasks is not controlled by one of the rc startup scripts?
Choose one:

a. backup users' directories
b. run fsck
c. mount filesystems
d. load modules
View Answer
Where are the startup scripts defined?

Choose one:
a. /etc/initd
b. /etc/scripts
c. /etc/start
d. /etc/inittab
View Answer
What should you type to change the runlevel of your system?

Choose one:
a. init [runlevel]
b. halt [runlevel]
c. /etc/inittab
d. sys init [runlevel]
View Answer
How does single user mode differ from other runlevels?
Choose one:

a. init does not read the /etc/inittab file
b. Users can only log into the system across the network.
c. Network services are disabled.
d. All processes are stopped and the root filesystem is mounted as read-only when in single user mode.
View Answer
What file should you examine to determine the defined runlevels for your system?
View Answer
Each entry in the /etc/inittab file contains four fields the third of which is the Action field. What is the purpose of this field?
Choose one:

a. Identifies the entry
b. Specifies the command to execute
c. Defines how to handle the entry.
d. Defines which runlevels this line applies to.
View Answer
After the kernel is loaded, it calls the _________ daemon which is responsible for creating new processes.
Choose one:

a. inittab
b. sys.conf
c. init
d. syslog
View Answer
What command can you use to see the boot messages?
Choose one:

a. dmesg
b. cat kernel.messages
c. logview
d. man logs
View Answer
When the kernel is loading, it writes any messages to the ____________ file.
View Answer
You can start Linux in many different ways. Which of the following is not one of these?
Choose one:

a. Type linux from a DOS prompt under Windows 95.
b. Using a boot loader such as LILO
c. From a floppy disk
d. Type linux single at the boot: prompt.
View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View All Linux Interview Questions & Answers - Exam Mode / Learning Mode




India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.03125 Seconds