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 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.
|You have a problem installing an older CD-ROM drive on one of your Linux servers. You have checked the HOWTOs and FAQs but have not found your answer. Where could you go to search the newsgroups to look for
|You have been given the job of administering a new server. It houses a database used by the sales people. This information is changed frequently and is not duplicated anywhere else. What should you do to ensure that this information is not lost?
a. Create a backup strategy that includes backing up this information at least daily.
b. Prepare a proposal to purchase a backup server
c. Recommend that the server be made part of a cluster.
d. Install an additional hard drive in the server.
|What command allows you to set a processor-intensive job to use less CPU time?
|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?
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.
|You issue the command jobs and receive the following output:
- Stopped (tty output) pine
+ Stopped (tty output) MyScript
How would you bring the MyScript process to the foreground?
a. fg %2
c. fg MyScript
|To display a list of all manual pages containing the keyword "date", what command would you type?
|You use the mount -a command to mount all your filesystems, however, you cannot access your CD-ROM. What could be the problem?
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.
|Which partitioning tool is available in all distributions?
A) Disk Druid
C) Partition Magic
E) System Commander
|You have been assigned the task of determining if there are any user accounts defined on your system that have not been used during the last three months. Which log file should you examine to determine this information?
|Which of the following user names is invalid?
a. Theresa Hadden
|You want to make it possible for your users to mount floppy disks. What do you need to do?
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.
|You have a computer with Windows 95 installed and want to install Linux on it. However, there is no free space available. How could you manage to install Linux on this computer with the least amount of effort?
a. Use fips to resize the partition containing Windows 95.
b. Repartition the hard drive; reinstall Windows 95 and then install Linux
c. You cannot run Windows 95 and Linux on the same computer
d. Create a directory under Windows 95 and install Linux in that directory.
|You have a new application on a CD-ROM that you wish to install. What should your first step be?
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.
|Bob Armstrong, who has a username of boba, calls to tell you he forgot his password. What command should you use to reset his command?|
|Which file do you edit to set partitions to mount at boot time?
|You have a file named phonenos containing names and telephone numbers. Each line contains the telephone number followed by the name. You want to sort the file by telephone number in ascending order. Which of the following commands will accomplish this.
a. sort phonenos
b. sort -c phonenos
c. sort -n phonenos
d. sort -r phonenos
|When you install a new application, documentation on that application is also usually installed. Where would you look for the documentation after installing an application called MyApp?
d. In the same directory where the application is installed.
|If you type the command cat dog >& cat what would you see on your display?
a. Any error messages only.
b. The contents of the file dog.
c. The contents of the file dog and any error messages.
d. The contents of the file dog and the file cat.
|When you look at the /etc/group file you see the group kmem listed. Since it does not own any files and no one is using it as a default group, can you delete this group?|
|Which file do you need to change to alter how the updatedb database is created?
India News Network
Latest 20 Questions
Payment of time- barred debt is:
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