CoolInterview.com - 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
Advertisements
Linux Interview Questions

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.

Highly Recommended, Hand Picked Linux Books


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 need to create two new directories in your home directory. The first one is called /home/bob/letters and the second one is /home/bob/letters/sales. Which of the following command lines should you use?
Choose one:

a. mkdir /home/bob/letters/sales
b. mkdir letters; mkdir sales
c. mkdir letters/sales
d. mkdir home/bob/letters/sales
0.3 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
In order to apply a filesystem to your new partitions you must format them. What command would you use to create the ext2 filesystem?
0.2 Rating
View Answer
Which password package should you install to ensure that the central password file couldn't be stolen easily?

A) PAM
B) tcp_wrappers
C) shadow
D) securepass
E) ssh
0.3 Rating
View Answer
The beginning user identifier is defined in the _________ file.
0.3 Rating
View Answer
You need to create a new group called sales with Bob, Mary and Joe as members. Which of the following would accomplish this?
Choose one:

a. Add the following line to the /etc/group file: sales:44:bob,mary,joe
b. Issue the command groupadd sales.
c. Issue the command groupadd -a sales bob,mary,joe
d. Add the following line to the /etc/group file: sales::44:bob,mary,joe
0.3 Rating
View Answer
Your default umask is 002. What does this mean?
Choose one:

a. Any file you create will have the permissions set as owner and group having read and write permissions; others as read only.
b. Any file you create will have the permissions set as owner and group having read, write and execute permissions; others as read and execute.
c. Any directoy you create will have the permissions set as owner and group having read, write and execute permissions; others as read and write permissions.
d. Any directory you create will have the permissions set as owner and group having read and write permissions; others as read only.
0.3 Rating
View Answer
Explain about debugging?
0.3 Rating
View Answer
When using sed to replace one term with another it will print every line in the file and then print each line every time it does a replacement. What option should you add to the command line to only print the lines that are changed?
Choose one:

a. -n
b. -p
c. -g
d. -f
0.3 Rating
View Answer
What file defines the levels of messages written to system log files?
0.3 Rating
View Answer
You want to know how much space is being occupied by your user's home directories. Which of the following will provide you with this information?
Choose one:

a. du -l /home
b. du -b /home
c. du -m /home
d. du -c /home
0.2 Rating
View Answer
You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?
Choose one:

a. pr -l60 vacations | lpr
b. pr -f vacations | lpr
c. pr -m vacations | lpr
d. pr -l vacations | lpr
0.3 Rating
View Answer
What does the apropos command do?
Choose one:

a. It is the same as the man -f command.
b. It is the same as the man -K command.
c. It searches the short descriptions from the man pages.
d. It uses the locatedb database to answer your query.
0.3 Rating
View Answer
What is the real mean of DHCP?
0.2 Rating
View Answer
You have to type your name and title frequently throughout the day and would like to decrease the number of key strokes you use to type this. Which one of your configuration files would you edit to bind this information to one of the function keys?
0.3 Rating
View Answer
What command should you use to check your filesystem?
0.2 Rating
View Answer
If you type the command cat dog &> cat what would you see on your display?
Choose one:

a. Any error messages only.
b. The contents of the file dog.
c. The contents of the file dog and any error messages.
d. Nothing as all output is saved to the file cat.
0.3 Rating
View Answer
You are going to reboot your system but want to warn your users to log off. Which of the following commands will send a message to the users.
Choose one:

a. init
b. halt
c. reboot
d. shutdown
0.2 Rating
View Answer
Which of the following items would not be important for you to record in your system documentation.
Choose one:

a. Any kernel patches you might apply.
b. Applications that are installed.
c. When did each user log on last.
d. What problems with the system you have had.
0.3 Rating
View Answer
You need to delete the group dataproject. Which two of the following tasks should you do first before deleting the group?

A. Check the /etc/passwd file to make sure no one has this group as his default group.
B. Change the members of the dataproject group to another group besides users.
C. Make sure that the members listed in the /etc/group file are given new login names.
D. Verify that no file or directory has this group listed as its owner.

Choose one:

a. A and C
b. A and D
c. B and C
d. B and D
0.3 Rating
View Answer

Previous 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.09375 Seconds