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.
|What Is Linux?|
|When using useradd to create a new user account, which of the following tasks is not done automatically.
a. Assign a UID.
b. Assign a default shell.
c. Create the user's home directory.
d. Define the user's home directory.
|253. Which of the following are X-based system configuration tools available in some distributions?
[Choose all correct answers]
|While using fdisk what command would you use to see the partition table?
|Which of the following commands will make your home directory your working directory.
b. cd home
c. cd ..
d. cd home/username
|Who Wrote Linux?|
|What type of local file server can you use to provide the distribution installation materials to the new machine during a network installation?
|You wish to restore the file memo.ben which was backed up in the tarfile MyBackup.tar. What command should you type?|
|A variable that you can name and assign a value to is called a _____________ variable.|
|Every time you attempt to delete a file using the rm utility, the operating system prompts you for confirmation. You know that this is not the customary behavior for the rm command. What is wrong?
a. rm has been aliased as rm -i
b. The version of rm installed on your system is incorrect.
c. This is the normal behavior of the newest version of rm.
d. There is an incorrect link on your system.
|You want to create a compressed backup of the users' home directories. What utility should you use?|
|Your company has implemented a policy that users' passwords must be reset every ninety days. Since you have over 100 users you created a file with each username and the new password. How are you going to change the old passwords to the new ones?
a. Use the chpasswd command along with the name of the file containing the new passwords.
b. Use the passwd command with the -f option and the name of the file containing the new passwords.
c. Open the /etc/passwd file in a text editor and manually change each password.
d. Use the passwd command with the -u option.
|You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose.|
|What text filter can you use to display a binary file in octal numbers?|
|What can you type at a command line to determine which shell you are using?|
|In your present working directory, you have the files
What is the fewest number of keys you can type to open the file MyTelephoneandAddressBook with vi?
|How to exclude ip address in dhcp?
my ranges are 192.168.1.2 192.168.1.20
then how do i exclude different ip's like 192.168.1.4 and 7 and 10 from the range
please help me out
|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?
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
|After creating a backup of the users' home directories called backup.cpio you are asked to restore a file called memo.ben. What command should you type?|
|As the system administrator you have created a directory containing some scripts that you have written. You want to have all your users to be able to run this scripts. Which file should you edit to ensure that the scripts will run without your users having to type the complete path to the script?
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