Unix / Linux Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to Unix Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : C

Explanation

The parent process id of a child process.

Q 2 - How does a comment can begin in a shell script file.

A - Beginning with #

B - Beginning with $

C - Beginning with !

D - None of the above.

Answer : A

Explanation

A comment line begin with # (pound symbol) and is ignored by the shell.

Q 3 - Command used to update access and modification times of a file.

A - finger

B - touch

C - tee

D - vi

Answer : B

Explanation

touch can even create an empty file apart from updating access and modification time.

Q 4 - Which command can be used to drop a message to all logged in users.

A - mail

B - writeall

C - boradcast

D - wall

Answer : D

Explanation

wall is considered as broadcasting command. Typically used by admins to pass on important info to all logged in users.

Q 5 - Per user configuration setting are found in the following file of users home directory.

A - profile

B - .profile

C - .mbox

D - .exrc

Answer : B

Explanation

Aliases, imported environment variables, etc are part of the configuration settings.

Answer : A

Explanation

Q 7 - Which command can be used to find resource limits?

A - rlimit

B - ulimit

C - mylimit

D - getlimit

Answer : B

Explanation

Q 8 - Command used to change group owner of the file __

A - chgrp

B - cgrp

C - group

D - newgroup

Answer : A

Explanation

Q 10 - Choose the example for character special file.

A - Floppy disk

B - Mouse

C - Memory

D - Flash drive

Answer : B

Explanation

unix_questions_answers.htm
Advertisements