wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UNIX Command-Line Quiz

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is one reason why Unix is popular for handling biological datasets?

a)

It is the only operating system available.

b)

most bioinformatics softwares are built to be unix/linux compatible

c)

It is the most expensive operating system.

d)

It requires no learning curve.

2.

Which command is used to change the current working directory in Unix?

a)

ls

b)

cd

c)

pwd

d)

mkdir

3.

What does the command 'pwd' do?

a)

Changes the current directory.

b)

Creates a new directory.

c)

Prints the current working directory.

d)

Lists the contents of a directory.

4.

Which command would you use to create a new directory?

a)

cp

b)

mv

c)

mkdir

d)

rm

5.

What is a key advantage of using a command line interface (CLI) over a graphical user interface (GUI)?

a)

It is more visually appealing.

b)

It allows for faster navigation and processing

c)

It requires no memorization.

d)

It is easier for beginners.

6.

If you want to view the manual for a command in Unix, which command would you use?

a)

doc

b)

info

c)

help

d)

man

7.

Which command would you use to remove files or folders?

a)

cp

b)

mv

c)

ls

d)

rm

8.

What does the 'ls -l' command do?

a)

Lists files in long format with detailed information.

b)

Lists files in reverse order.

c)

Lists files sorted by size.

d)

Lists files in human-readable format.

9.

what will this cd ~ do?

a)

Take me to my home directory

b)

carry me to where to where I do not know

c)


produce a syntax error

d)


list the content of my current working directory

10.

what does "/" stands for in unix file system

a)

the root directory

b)


the home directory

c)

just a delimiter and nothing at all

d)


separate directories in the file system and signifies the path to a directory

11.

what is Unix?

a)

one of the many command in the terminal

b)

A shell

c)

a kernel

d)

an operating system

12.

The working folder/directory you will be by default be when you open your Command line interface is call what ?

a)

the root directory

b)

home directory or folder

c)

an imaginary directory

d)

my room directory

13.

what is a shell in linux?

a)

just another useful command in linux

b)

a software that controls and manages the computer hardwares and other softwares

c)

a software that prompt the user for input or command

d)

a component of seen in class Mollusca in a linux universe

14.

what is the equivalence of a directory in GUI?

a)

root

b)

file explorer

c)

fodder

d)

folder

15.

what does CLI stands for?

a)

command line interphase

b)

commend line interface

c)

command line interface

d)

common linux interface