Sponsored Links

Interview Questions



Advertisements Linux Interview Questions
COOLINTERVIEW.COM OPERATING SYSTEMS INTERVIEW QUESTIONS LINUX INTERVIEW QUESTIONS QUESTIONS LISTING

Linux Interview Questions & Answers

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

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.

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
Which command works in almost all distributions to create a boot disk?

A) mkboot
B) make bootdsk
C) make boot
D) mkbootdsk
E) mkbootdisk
0.2 Rating
View Answer
What command can you use to review boot messages?
0.3 Rating
View Answer
Where are the startup scripts defined?

Choose one:
a. /etc/initd
b. /etc/scripts
c. /etc/start
d. /etc/inittab
0.2 Rating
View Answer
You notice that your server load is exceptionally high during the hours of 10 am to 2 noon. When investigating the cause, you suspect that it may be a cron job scheduled by one of your users. What command can you use to determine if your suspicions are correct?
Choose one:

a. crontab -u
b. crond -u
c. crontab -l
d. crond -l
0.2 Rating
View Answer
You want to know how many lines in the kickoff file contains 'prize'. Which of the following commands will produce the desired results?
Choose one:

a. grep -n prize kickoff
b. grep -c prize kickoff
c. grep -v prize kickoff
d. grep prize kickoff
0.2 Rating
View Answer
What is the name and path of the default configuration file used by the syslogd daemon?
0.2 Rating
View Answer
You have installed a new application but when you type in the command to start it you get the error message Command not found. What do you need to do to fix this problem?
Choose one

a. Add the directory containing the application to your path
b. Specify the directory's name whenever you run the application
c. Verify that the execute permission has been applied to the command.
d. Give everyone read, write and execute permission to the application's directory.
0.2 Rating
View Answer
You create a new user account by adding the following line to your /etc/passwd file.
bobm:baddog:501:501:Bob Morris:/home/bobm:/bin/bash
Bob calls you and tells you that he cannot logon. You verify that he is using the correct username and password. What is the problem?
Choose one:

a. The UID and GID cannot be identical.
b. You cannot have spaces in the line unless they are surrounded with double quotes.
c. You cannot directly enter the password; rather you have to use the passwd command to assign a password to the user.
d. The username is too short, it must be at least six characters long.
0.2 Rating
View Answer
You enter the command cat horse | tr 'x' 'X'. What is the result of this command?
Choose one:

a. The file horse will be displayed to the screen.
b. Any lines in the file horse containing 'x' or 'X' will be displayed to the screen
c. All instances of 'x' will be changed to 'X' and the output sent to the screen.
d. All instances of 'x' will be changed to 'X' and the output written to the file called horse.
0.2 Rating
View Answer
You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?
Choose one:

a. You do not have delete rights to the file called sales.mem.
b. You need to use the -i option with rm to delete a file.
c. You do not have write rights to the directory containing the sales.mem file.
d. You are not the owner of the file sales.mem.
0.2 Rating
View Answer
You copy a file to Bob's home directory that Bob needs to revise. However, when Bob attempts to open the file he is unsuccessful. What command do you need to use to give Bob ownershiop of the file?
0.2 Rating
View Answer
You want to copy the user's home directories to a new location. Which of the following commands will accomplish this?
Choose one:

a. cp -rP /home/* newdir
b. cp -i /home/* newdir
c. cp -iv /home/* newdir
d. cp -b /home/* newdir
0.2 Rating
View Answer
Hi All,

I need a help it's bit urgent.
I have a linux box and a sendmail mail server has been configured.
The porblem is i want to send a mail delay status to the user stating that his mail is still in the queue for 1 hour using shell scripting or any third party tool.
please help me if any body knows about it.

Thanks,
Harish.T
0.3 Rating
View Answer
What should you type to change the runlevel of your system?

Choose one:
a. init [runlevel]
b. halt [runlevel]
c. /etc/inittab
d. sys init [runlevel]
0.2 Rating
View Answer
You want to find how to set the manpath variable so you type man man. What would you type while displaying the page to find the location where manpath is discussed?
Choose one:

a. grep manpath
b. find manpath
c. /manpath
d. locate manpath
0.2 Rating
View Answer
In order to create a file called DirContents containing the contents of the /etc directory you would type ____________.
0.2 Rating
View Answer
What utility can you use to automate rotation of logs?
0.2 Rating
View Answer
You issue the command mount without any options and the following output is displayed
/dev/hda1 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda9 on /home type ext2 (rw)
/dev/hda7 on /tmp type ext2 (rw)
/dev/hda5 on /usr type ext2 (rw)
/dev/hda6 on /var type ext2 (rw)
What does this output mean?

Choose one:
a. This is a listing of all the available filesystems that may be mounted on your system and is taken from the /etc/fstab file.
b. This is a listing of all the mounted filesystems on your system and is taken from the /etc/mtab file.
c. This is a listing of all the available filesystems that may be mounted on your system and is taken from the /etc/mtab file.
d. This is a listing of all the mounted filesystems on your system and is taken from the /etc/fstab file.
0.3 Rating
View Answer
You want to create a compressed backup of the users' home directories. What utility should you use?
0.2 Rating
View Answer
You need to update your HOWTOs. Where should you go to acquire the latest versions?
Choose one:

a. Linux Mall and order a new CD.
b. Your local Linux Users Group should have a copy.
c. The web site for your distribution.
d. Linux Documentation Project
0.2 Rating
View Answer

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




User Options
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



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2024 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions