Placement papers on Linux - Set 3

Placement papers on Linux - Set 3


1. Which of the following below is/are true for Date command?

It can work w/o arguments
It always needs an argument
It always need to have a+ as an argument
None of the above
View Answer / Hide Answer

ANSWER: It can work w/o arguments




2. There is no difference between who and whoami command?

True
False
View Answer / Hide Answer

ANSWER: False




3. When trying to compare two files using cmp, if the files differ; what is the output?

tells the first byte where they differ
tells the line number where they differ
tells the first byte and line number where they differ
it displays the files
View Answer / Hide Answer

ANSWER: tells the first byte and line number where they differ




4. Cal is used to display calendar. If no arguments are supplied, what is displayed?

The current month is displayed
Nothing is displayed
Shows an error
None of the above
View Answer / Hide Answer

ANSWER: The current month is displayed




5. LD_LIBRARY_PATH is a type of

system call
command
Environmental variable
both b and c
View Answer / Hide Answer

ANSWER: Environmental variable




6. What is the major difference between UNIX and LINUX?

Linux is an open source and free software
UNIX is an open source and free software
UNIX uses Linux like OS
Both a and c
View Answer / Hide Answer

ANSWER: Linux is an open source and free software




7. What is the use of a pipe?

Several functions can be combined in a single statement.
UNIX is an open source and free software
Stream input to output.
Both a and c
View Answer / Hide Answer

ANSWER: Both a and c




8. By default, the shell uses the _______________ library

read
data
readline
processline
View Answer / Hide Answer

ANSWER: readline


Post your comment