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.
|Where Is the Latest Kernel Version on the Internet?|
|What would be the result of the command paste -s dog cat?
a. The corresponding lines from the files dog and cat would be pasted together separated by a tab.
b. The corresponding lines from the files dog and cat would be pasted together separated by a space.
c. The file cat would be pasted after the file dog.
d. The file dog would be pasted after the file cat.
|Describe the boot process of your favorite Linux in as much detail as you can.
|Can Linux Use More than 3 Serial Ports by Sharing Interrupts?|
|Which of the following commands can you use to cleanly restart a Linux machine? [Choose all correct answers]
B) init 6
C) init 0
D) shutdown -r
E) shutdown -h
|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?
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.
|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?
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
|You have two files each ten lines long. What text filter could you use to combine the two files so that each line of the output contains the corresponding line from each file?|
|You want to create a compressed backup of the users' home directories so you issue the command gzip /home/* backup.gz but it fails. The reason that it failed is that gzip will only compress one _______ at a time.|
|How to install 8139 realtek drivers in rhel5.0? Please help me out.|
|You can start Linux in many different ways. Which of the following is not one of these?
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.
|Which of the following are X-based system configuration tools available in some distributions? [Choose all correct answers]
|How can you determine who has scheduled at jobs?
a. at -l
b. at -q
c. at -d
|A PC in a private network (on a DSL connection) should be reachable from the outside. How would you solve this?|
|The easiest, most basic form of backing up a file is to _____ it to another location.|
|You have entered the following cronjob. When will it run? 15 * * * 1,3,5 myscript
a. at 15 minutes after every hour on the 1st, 3rd and 5th of each month.
b. at 1:15 am, 3:15 am, and 5:15 am every day
c. at 3:00 pm on the 1st, 3rd, and 5th of each month
d. at 15 minutes after every hour every Monday, Wednesday, and Friday
|How does single user mode differ from other runlevels?
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.
|After experimenting with vi as your command line editor, you decide that you want to have vi your default editor every time you log in. What would be the appropriate way to do this?
a. Change the /etc/inputrc file
b. Change the /etc/profile file
c. Change the ~/.inputrc file
d. Change the ~/.profile file
|What would be displayed as the result of issuing the command ps ef?
a. A listing of the user's running processes formatted as a tree.
b. A listing of the stopped processes
c. A listing of all the running processes formatted as a tree.
d. A listing of all system processes formatted as a tree.
|You also need to know the amount of free space on the partition containing the users' home directories. Which of the following commands will provide this information?
a. df /home
b. df -i /home
c. df --sync
d. df -T
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