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 are installing Linux into a computer with two IDE hard drives. You plan on dividing each hard drive into two partitions. What are the names of the partitions?
Choose one:

a. hda1, hda2, hda3, hda4
b. hda1, hda2, hdb1, hdb2
c. sda1, sda2, sdb1, sdb2
d. sda1, sda2, sda3, sda4
0.2 Rating
View Answer
The top utility can be used to change the priority of a running process? Another utility that can also be used to change priority is ___________?
0.2 Rating
View Answer
How Does Linux Kernel Versioning Work?
0.2 Rating
View Answer
You want to enter a series of commands from the command-line. What would be the quickest way to do this?
0.2 Rating
View Answer
You have three files in the /home/ben/memos directory called letters, tom, betty. How could you determine each file's type by issuing only one command?
0.2 Rating
View Answer
Which first-level segment of the file system contains a majority of system and server configuration files within its subdirectories?

A) /var
B) /etc
C) /bin
D) /sbin
E) /lib
0.2 Rating
View Answer
You have a file called docs.Z but do not know what it is. What is the easiest way to look at the contents of the file?
Choose one:

a. Use zcat to display its contents.
b. Use uncompress to expand the file and then use emacs to display the files contents.
c. Copy the file to a floppy disk and uncompress it under Windows.
d. Use tar -xt to display the file's contents.
0.2 Rating
View Answer
What do you type to stop a hung process that resists the standard attempts to shut it down? [Choose all correct answers]

A) kill PID
B) quit
C) kill -9 PID
D) exit
E) Ctrl+C
0.2 Rating
View Answer
Which of the following tasks is not controlled by one of the rc startup scripts?
Choose one:

a. backup users' directories
b. run fsck
c. mount filesystems
d. load modules
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. The contents of the file dog and the file cat.
0.3 Rating
View Answer
You read an article that lists the following command: dd if=/dev/fd0 bs=512 of=/new
What does this accomplish?
Choose one:

a. It copies the contents of a floppy disk to a file called new.
b. It copies the file new to a floppy disk.
c. It formats a floppy
d. It erases a floppy
0.2 Rating
View Answer
What are threads (user/kernel)?
0.2 Rating
View Answer
You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine the location of the command being run?
0.2 Rating
View Answer
Which file do you edit to set partitions to mount at boot time?

A) /etc/fstab
B) /etc/services
C) /etc/smb.conf
D) /etc/fstab.conf
E) /etc/mount.conf
0.2 Rating
View Answer
What file defines the levels of messages written to system log files?
0.3 Rating
View Answer
You want to ensure that your system is not overloaded with users running multiple scheduled jobs. A policy has been established that only the system administrators can create any scheduled jobs. It is your job to implement this policy. How are you going to do this?
Choose one:

a. create an empty file called /etc/cron.deny
b. create a file called /etc/cron.allow which contains the names of those allowed to schedule jobs.
c. create a file called /etc/cron.deny containing all regular usernames.
d. create two empty files called /etc/cron.allow and /etc/cron.deny
0.3 Rating
View Answer
Which of the following tasks is not necessary when creating a new user by editing the /etc/passwd file?

Choose one:
a. Create a link from the user's home directory to the shell the user will use.
b. Create the user's home directory
c. Use the passwd command to assign a password to the account.
d. Add the user to the specified group.
0.3 Rating
View Answer
Where is a good place to store shell scripts that are for use by the author?

A) ~/bin
B) /bin
C) /usr/bin
D) /root
0.3 Rating
View Answer
You need to copy all the files and directories contained in the home directory to another location. What utility can you use for this?
Choose one

a. cpio
b. cp
c. mv
d. mvdir
0.2 Rating
View Answer
You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?
Choose one:

a. expand -t4 phonenos
b. expand phonenos
c. expand -n4 phonenos
d. expand -t phonenos
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.03125 Seconds