1000+ Linux Interview Questions and Answers Pdf - 2

Question: 6

List out the features of linux system?

Reliability

Backward Compatibility

Simple Upgrade and Installation

Suitable to any machine

GUI Interface

Multiple Distributors

No Virus Attack

Security features

Can Support a High User Load

Development Libraries

Question: 7

How will you create a directory?

We can make use of mkdir (make directory) command to create a directory. This command creates the directory specified after the mkdir command, under the current directory. But the newly created directory will not become the current directory automatically.

Question: 8

What is an echo command?

The echo command works as a combination of printf() and ā€œ\nā€ of C programming. If we want to display a message to the user we can make use of echo command.

If we want to have the cursor in the same line with the message, then we should use ā€“n option with the echo command.

Question: 9

How can you identify the present directory itself?

pwd - print working directory (or) path of working directory (or) the present working directory.

The single dot (.) represents the directory itself.

There should be a blank space between cd and .. and there should be no blank space between the two dots.

The double dots (..) denote the path of parent directory.

Question: 10

How a file name should be?

The file name

1. May contain characters, underscores, numbers, periods and commas.

2. Can be up to 256 characters.

3. Should not have a number as the first character.

4. Should not begin with a period.

5. Should not contain slash, question mark and asterisk.

6. Should not duplicate command names.

Related Questions