Sponsored Links

Interview Questions



INTERVIEW QUESTIONS OPERATING SYSTEMS LINUX DETAILS

Question: After copying a file to a floppy disk, what should you do before removing the disk?

Answer:
Answer: unmount the floppy

If you do not unmount the floppy before removing it, the files on the floppy may become corrupted.

Category Linux Interview Questions & Answers - Exam Mode / Learning Mode
Rating (0.3) By 8270 users
Added on 12/11/2009
Views 70769
Rate it!

Question: After copying a file to a floppy disk, what should you do before removing the disk?

Answer:


Answer: unmount the floppy

If you do not unmount the floppy before removing it, the files on the floppy may become corrupted. 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.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer
What is contained in the directory /proc?
Choose one:

a. System information
b. Administrative procedures
c. Boot procedures
d. Documentation on your system
View Answer
You use the mount -a command to mount all your filesystems, however, you cannot access your CD-ROM. What could be the problem?
Choose one:

a. The CD-ROM is not defined in the fstab file.
b. The CD-ROM cannot be mounted using the mount -a command.
c. The command mount -a is not a valid command.
d. The correct syntax to mount all filesystems is mount fstab.
View Answer
You want to make it possible for your users to mount floppy disks. What do you need to do?
Choose one:

a. Tell your users the password for root as floppies can only be mounted by root.
b. Edit the mtab file and add the user option on the floppy entry.
c. Edit the fstab file and add the ro option on the floppy entry.
d. Edit the fstab file and add the user option on the floppy entry.
View Answer
You have a new application on a CD-ROM that you wish to install. What should your first step be?
Choose one:

a. Read the installation instructions on the CD-ROM.
b. Use the mount command to mount your CD-ROM as read-write.
c. Use the umount command to access your CD-ROM.
d. Use the mount command to mount your CD-ROM as read-only.
View Answer
You issue the command mount without any options and the following output is displayed
/dev/hda1 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda9 on /home type ext2 (rw)
/dev/hda7 on /tmp type ext2 (rw)
/dev/hda5 on /usr type ext2 (rw)
/dev/hda6 on /var type ext2 (rw)
What does this output mean?

Choose one:
a. This is a listing of all the available filesystems that may be mounted on your system and is taken from the /etc/fstab file.
b. This is a listing of all the mounted filesystems on your system and is taken from the /etc/mtab file.
c. This is a listing of all the available filesystems that may be mounted on your system and is taken from the /etc/mtab file.
d. This is a listing of all the mounted filesystems on your system and is taken from the /etc/fstab file.
View Answer
You have a file called docs.Z but do not know what it is. What is the easiest way to look at the contents of the file?
Choose one:

a. Use zcat to display its contents.
b. Use uncompress to expand the file and then use emacs to display the files contents.
c. Copy the file to a floppy disk and uncompress it under Windows.
d. Use tar -xt to display the file's contents.
View Answer
You created a tarfile called myfiles.tar containing copies of all the files in your home directory. In order to save space you compress this file using gzip. After completing the operation, you do a listing of the contents of the directory to see how much smaller the compressed file is. How can you use the information from the listing to determine the percentage of compression?
Choose one:

a. Only the compressed file will be listed and not the tarfile.
b. Divide the reported size of the tarfile by the reported size of the compressed file.
c. Neither the tarfile nor the compressed file are listed as they are both moved to another directory by default.
d. Divide the reported size of the compressed file by the reported size of the tarfile.
View Answer
You are using tar to create a tarfile of the files contained in the /home/bob/memos directory. After making the /home/bob/memos directory your working directory, which of the following commands will create the file?
Choose one:

a. tar cf memos.tar .
b. tar xf memos.tar .
c. tar cf memos.tar /home/bob/memos
d. tar xf memos.tar /home/bob/memos
View Answer
You want to verify which lines in the file kickoff contain 'Bob'. Which of the following commands will accomplish this?
Choose one:

a. sed -n /Bob/p kickoff
b. sed /Bob/p kickoff
c. sed -n 'Bob p' kickoff
d. sed /Bob/ kickoff
View Answer
You search for the word prize in the file kickoff by typing grep prize kickoff. However you also find lines containing prize as part of a word such as prizes but do not find Prize. How should you change the command
to find all occurrences of prize as a word and not part of a word?
Choose one:

a. grep -lc prize kickoff
b. grep -cw prize kickoff
c. grep -vi prize kickoff
d. grep -iw prize kickoff
View Answer
You want to know how many lines in the kickoff file contains 'prize'. Which of the following commands will produce the desired results?
Choose one:

a. grep -n prize kickoff
b. grep -c prize kickoff
c. grep -v prize kickoff
d. grep prize kickoff
View Answer
You have a file named 'kickoff' and would like to find every line beginning with a number. Which of the following commands will accomplish this?
Choose one:

a. grep [0-9] kickoff
b. grep ^[0-9] kickoff
c. grep [0-9]$ kickoff
d. grep $[0-9] kickoff
View Answer
You want to search for sale and sales. What regular expression should you use?
Choose one:

a. sale*
b. sale?
c. ^sale
d. sale$
View Answer
You want to construct a regular expression that will match all lines that end with 'stuff'. Which of the following expressions will do this?
Choose one:

a. ^stuff
b. stuff$
c. $stuff
d. stuff^
View Answer
You want to delete the following directories and their files
/home/bob/letters
/home/bob/sales
so you issue the command rmdir /home/bob/letters but the command fails. What went wrong?
Choose one:

a. You need to first delete the sales subdirectory and its files before deleting its parent directory, letters, and its files.
b. There is no such command as rmdir.
c. The rmdir command cannot remove directories that are not empty.
d. The rmdir command will not remove directory heirarchies.
View Answer
You need to create two new directories in your home directory. The first one is called /home/bob/letters and the second one is /home/bob/letters/sales. Which of the following command lines should you use?
Choose one:

a. mkdir /home/bob/letters/sales
b. mkdir letters; mkdir sales
c. mkdir letters/sales
d. mkdir home/bob/letters/sales
View Answer
You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?
Choose one:

a. You do not have delete rights to the file called sales.mem.
b. You need to use the -i option with rm to delete a file.
c. You do not have write rights to the directory containing the sales.mem file.
d. You are not the owner of the file sales.mem.
View Answer
You have a directory called /home/ben/memos and want to move it to /home/bob/memos so you issue the command mv /home/ben/memos /home/bob. What is the results of this action?
Choose one:

a. The files contained in /home/ben/memos are moved to the directory /home/bob/memos/memos.
b. The files contained in /home/ben/memos are moved to the directory /home/bob/memos.
c. The files contained in /home/ben/memos are moved to the directory /home/bob/.
d. The command fails since a directory called memos already exists in the target directory.
View Answer
You read an article that lists the following command: dd if=/dev/fd0 bs=512 of=/new
What does this accomplish?
Choose one:

a. It copies the contents of a floppy disk to a file called new.
b. It copies the file new to a floppy disk.
c. It formats a floppy
d. It erases a floppy
View Answer
You want to copy the user's home directories to a new location. Which of the following commands will accomplish this?
Choose one:

a. cp -rP /home/* newdir
b. cp -i /home/* newdir
c. cp -iv /home/* newdir
d. cp -b /home/* newdir
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



User Options
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



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2024 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions