UNIX Fundamentals MCQs

UNIX Fundamentals MCQs

Our experts have gathered these UNIX Fundamentals MCQs through research, and we hope that you will be able to see how much knowledge base you have for the subject of UNIX Fundamentals by answering these multiple-choice questions.
Get started now by scrolling down!

1: What is an absolute pathname?

A.   A pathname that begins with a slash (\)

B.   A pathname that begins at the root directory

C.   A pathname that ends with a slash (/)

D.   A pathname used in the terminal

2: What is an active user in an XTI transport connection?

A.   The transport user that accepted the connection

B.   The transport user that monitored the connection

C.   The transport user that terminated the connection

D.   The transport user that initiated the connection

3: What is the apropos command used for?

A.   To optimize system performance

B.   To run a script

C.   To display the reference page names and summary lines containing a specified word or string of characters

D.   To store user input

4: What does argc stand for?

A.   A variable used to indicate command line errors

B.   An abbreviation for 'arguments count'

C.   A variable containing the number of arguments passed by the shell to a command

D.   Arguments Command Line

5: What is the term for the number of arguments passed by a command interpreter to a command?

A.   Argument count

B.   Command Parameters

C.   Command Values

D.   Argument Values

6: What is UNIX?

A.   An operating system

B.   A programming language

C.   A hardware component

D.   A web browser

7: UNIX was developed at:

A.   Microsoft

B.   Apple Inc.

C.   IBM

D.   Bell Laboratories

8: Which command is used to display the current date and time in UNIX?

A.   time

B.   datetime

C.   clock

D.   date

9: What does the command "ls" do in UNIX?

A.   List the contents of a directory

B.   Load a software package

C.   Locate a file

D.   Log out of the system

10: Which UNIX command is used to change the permissions of a file or directory?

A.   chmod

B.   chperm

C.   changeperm

D.   permchange

11: The symbol "~" (tilde) represents:

A.   The root directory

B.   The current user's home directory

C.   The system administrator's home directory

D.   The previous directory

12: What is the purpose of the "cp" command in UNIX?

A.   To move a file or directory

B.   To remove a file or directory

C.   To copy a file or directory

D.   To create a new directory

13: Which UNIX command is used to remove a directory?

A.   delete

B.   rmdir

C.   rm

D.   erase

14: In UNIX, how can you terminate a running process from the command line?

A.   stop

B.   kill

C.   end

D.   terminate

15: Which UNIX command is used to create a new empty file?

A.   touch

B.   newfile

C.   create

D.   makefile