- 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
Linux Interview Questions & Answers - Learning Mode

Linux Interview Questions & Answers - 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.

Try Linux Interview Questions & Answers - Exam Mode

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

Linux Interview Questions & Answers - Learning Mode
Try Linux Interview Questions & Answers - Exam Mode
Question: You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?

Answer: Type your answer:

Answer: tail -15 dog cat horse

The tail utility displays the end of a file. The -15 tells tail to display the last fifteen lines of each specified file. Source:
Question: To display a list of all manual pages containing the keyword "date", what command would you type?

Answer: man -k date Source:
Question: What is the minimum number of partitions you need to install Linux?
What command can you use to review boot messages?

Question: What command is used to remove the password assigned to a group?

Answer: Answer: gpasswd -r

The gpasswd command is used to change the password assigned to a group. Use the -r option to remove the password from the group. Source:
Question: What daemon is responsible for tracking events on your system?

Answer: Answer: syslogd

The syslogd daemon is responsible for tracking system information and saving it to specified log files. Source:
Question: Who owns the data dictionary?

Answer: The SYS user owns the data dictionary. The SYS and SYSTEM users are created when the database is created. Source:
Question: What is difference between user right and user permission?

Answer: user rights:user rights is that user is authorized to used password.if his password/file/dir is expired he is not able to login

user permission:permission is user is permitted to to use file/directory.that is authentication
if he is authentication for particular file or not.

it might be true as per my suggestion. Source:
Question: When typing at the command line, the default editor is the _____________ library.

Answer: readline

By default, your shell used the readline library in emacs mode as its
command line editor. Source:
Question: Which of the following interprets your actions when typing at the command line for the operating system? Choose One

a. Utility
b. Application
c. Shell
d. Command

Answer: Answer: c

A shell is a program that acts as an intermediary between the user and the operating system. It interprets what you type and passes it to the operating system. Source:
Question: What is difference between AT and CRON?

Answer: cron can be set onlyf or a particular time but at is used to schedule and execute Source:
Question: 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?

Answer: 1. history|tail -5
2. /var
3. fdisk, parted
4. rm, rmdir
5. /etc/passwd Source:
Question: Which daemon controls the network service -> POP3 mail service?

A) inetd
B) pop3d
C) maild
D) nntpd
E) pmaild

Answer: Answer: A - The inetd superdaemon controls the POP3 mail service. The POP3 mail service runs through the superdaemon, not on its own. Answers c and e point to nonexistent, or at least nonstandard daemons. Answer d points to the Usenet news daemon. Source:
Question: You attempt to log out but receive an error message that you cannot. When you issue the jobs command, you see a process that is running in the background. How can you fix this so that you can logout?
Choose one

a. Issue the kill command with the PID of each running command of the pipeline as an argument.
b. Issue the kill command with the job number as an argument.
c. Issue the kill command with the PID of the last command as an argument.
d. Issue the kill command without any arguments.

Answer: Answer: c

You can use the kill command to terminate a process that does not want to quit. You do this by using either the PID or the name of the process as an argument. Source:
Question: How can u schedule a job using cron for 20 secs?

Answer: No answer available currently.
Question: What are the common problems with threads?

Answer: Problems with threads originate from a classic view and its intrinsic concurrency complexity. Source:
Question: Which file defines all users on your system?

Choose one:
a. /etc/passwd
b. /etc/users
c. /etc/password
d. /etc/user.conf

Answer: Answer: a

The /etc/passwd file contains all the information on users who may log into your system. If a user account is not contained in this file, then the user cannot log in. Source:
Question: Describe the boot process of your favorite Linux in as much detail as you can.

Answer: Booting process : first BIOS loads the boot loaders, then boot loaders loads the kernel ,then kernel mount the file systems and drivers installation will takes place and in it will be loaded. Source:
Question: Explain about return code?

Answer: Return code is a common feature in shell programming. These return codes indicate whether a particular program or application has succeeded or failed during its process. && can be used in return code to indicate which application needs to be executed first. Source:
Question: In order to schedule a cronjob, the first task is to create a text file containing the jobs to be run along with the time they are to run. Which of the following commands will run the script MyScript every day at 11:45 pm?
Choose one:

a. * 23 45 * * MyScript
b. 23 45 * * * MyScript
c. 45 23 * * * MyScript
d. * * * 23 45 MyScript

Answer: Answer: c

This line will run the MyScript script at 23:45 or 11:45 pm every day of every month and every day of the week. Source:
Question: What command would you type to use the cpio to create a backup called backup.cpio of all the users' home directories? _____________

Answer: Answer: find /home | cpio -o > backup.cpio

The find command is used to create a list of the files and directories contained in home. This list is then piped to the cpio utility as a list of files to include and the output is saved to a file called backup.cpio. Source:

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

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.015625 Seconds