Sponsored Links

Interview Questions



Advertisements Linux Interview Questions
COOLINTERVIEW.COM OPERATING SYSTEMS INTERVIEW QUESTIONS LINUX INTERVIEW QUESTIONS QUESTIONS LISTING

Linux Interview Questions & Answers

Below we have listed all the Linux Interview Questions and answers. Feel free to comment on any Linux Interview Questions or answer by the comment feature available on the page.

To buy an eBook containing 30,000 Interview Questions, with Answers, Click Here.
View All Linux Interview Questions & Answers - Exam Mode / Learning Mode

Linux Interview Questions & Answers

Linux is, in simplest terms, an operating system. It is the software on a computer that enables applications and the computer operator to access the devices on the computer to perform desired functions. The operating system (OS) relays instructions from an application to, for instance, the computer's processor. Linux (often pronounced LIH-nuhks with a short "i") is a Unix-like operating system that was designed to provide personal computer users a free or very low-cost operating system comparable to traditional and usually more expensive Unix systems.

Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Next

Sort By : Latest First | Oldest First | By Rating

Question
Rating
View Answer
You copy a file to Bob's home directory that Bob needs to revise. However, when Bob attempts to open the file he is unsuccessful. What command do you need to use to give Bob ownershiop of the file?
0.2 Rating
View Answer
You issue the command ls -l memos and get the following output
-rw-rw-r-- 1 bob users 17249 Sep 7 10:08 accounting
-rw-rw-r-- 1 bob users 7202 Sep 17 9:10 administration
-rw-rw-r-- 1 root users 13367 Sep 1 12:58 humres
-rw-rw-r-- 1 bob users 9449 Sep 22 7:34 sales
Bob opens the humres file and makes changes, however, he is unable to save the file after making changes. What is the problem?
Choose one:

a. Bob is not a member of the users group and only has read access.
b. Bob's quota has been exceeded.
c. Only the owner of a file can make changes to it.
d. The file humres is corrupted and he needs to save his changes to another file.
0.3 Rating
View Answer
How does the locate and find commands differ in their method of searching?
Choose one:

a. locate uses the locatedb database and find searches the directory tree.
b. find uses the finddb database and locate searches the directory tree.
c. find searches the directory tree and the locate command only searches known directories.
d. Both locate and find searches the directory tree.
0.3 Rating
View Answer
You need to locate a file called salesdata that one of your user's created in his home directory but you do not know which one. How could you use the find command to locate this file?
0.3 Rating
View Answer
You wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What option should you use in this command line to be successful.
0.2 Rating
View Answer
You have two files in two different directories with the same inode. What type of link is involved?
0.3 Rating
View Answer
You have a file called salesdata and create symbolic links to it in bob's home directory. Bob calls you and says that his link no longer works. How can you fix the link?
Choose one:

a. The file salesdata has been deleted. You will have to restore it from a backup.
b. You will need to delete the symbolic link in bob's directory and recreate it.
c. Rename the link in bob's directory to salesdata.lnk.
d. Change the owner of the link in bob's directory and change the permissions to give others read and write permissions.
0.3 Rating
View Answer
You have a large spreadsheet located in the /data directory that five different people need to be able to change. How can you enable each user to edit the spreadsheet from their individual home directories?
Choose one:

a. Create a symbolic link in the /data directory.
b. Copy the spreadsheet to each user's home directory.
c. Create a hard link in each user's home directory.
d. Create a script to move the spreadsheet to which ever user's home directory who needs to edit it.
0.3 Rating
View Answer
What command should you use to check the number of files and disk space used and each user's defined quotas?
0.2 Rating
View Answer
You have set quotas for all your users but half of your users are using more space than they have been allotted. Which of the following could be the problem?
Choose one:

a. You have too many users on your system.
b. Users' home directories are located on two different partitions.
c. Your kernel does not support setting disk quotas.
d. You did not turn quotas on with the quotaon command.
0.3 Rating
View Answer
One of your users calls to tell you that he cannot save a new file he has created in his home directory. You check his disk quota and find that he is using less than 50 percent of the space he is allotted. What could be the problem?
Choose one:

a. He is presently a member of a group that has exceeded its disk space quota.
b. He has not named the file correctly.
c. The system is corrupt.
d. He needs to specify the absolute path when naming the file.
0.3 Rating
View Answer
After copying a file to a floppy disk, what should you do before removing the disk?
0.3 Rating
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
0.2 Rating
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.
0.2 Rating
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.
0.2 Rating
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.
0.3 Rating
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.
0.3 Rating
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.
0.2 Rating
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.
0.2 Rating
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
0.2 Rating
View Answer

Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Next




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