wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux Questions

Total questions: 45

Worksheet time: 15mins

Name
Class
Date
1.

Who wrote the first version of the Linux kernel?

a)

Ken Thompson

b)

Linus Torvalds

c)

Dennis Richie

d)

Richard Stallman

2.

What is the text interface to your computer also known as the terminal or shell called ?

a)

Notepad ++

b)

gedit

c)

command line interface

d)

vim

3.

The Linux Command Line is divided into how many parts?

a)

four

b)

three

c)

two

d)

one

4.

Technically speaking, Linux is the name of the operating system's _____, nothing more.

a)

content layer

b)

shell

c)

gamma

d)

kernel

5.

The title of Part I in The Linux Command Line is _____.

a)

Learning the Shell

b)

Learning the Kernel

c)

Learning the Process Layer

d)

Learning Processes

6.

FILL IN THE BLANK!!

Use this command when you want to know about another command.

(a)  

7.

FILL IN THE BLANK!!!

This command displays the contents of your current directory.

(a)  

8.

What would you type in the command line if you want to switch to the Documents directory? 

Type this exactly as you would input this into the terminal.

(a)  

9.

An alternative for the find command is ________.

a)

gps

b)

locate

c)

whereis

d)

where

10.

FILL IN THE BLANK!!

Which command allows you to see the contents of a text file?

(a)  

11.

FILL IN THE BLANK!!

Which command is used to install an application as an ADMINISTRATOR (or super user) in the Linux shell?

(a)  

12.

FILL IN THE BLANK!!

If you need to change your password, what command do you type in?

(a)  

13.

FILL IN THE BLANK!!!

Which Linux command shows you information on what your shell can do for you?

(a)  

14.

FILL IN THE BLANK!!

Which Linux command allows you to navigate to different directories?

(a)  

15.

FILL IN THE BLANK!

Which Linux command indexes the sytem and updates the database?

(a)  

16.

FILL IN THE BLANK!!

Which Linux command moves a file from one directory to another?

(a)  

17.

FILL IN THE BLANK!!

Which Linux command removes a directory?

(a)  

18.

FILL IN THE BLANK!!

Which Linux command operates by iterating through every file/folder on the file system?

(a)  

19.

FILL IN THE BLANK!!

Which Linux command tells you where you are in relation to the root of the file system?

(a)  

20.

FILL IN THE BLANK!!

Which command is used to concatenate files?

(a)  

21.

Which command is used to display the current working directory?

a)

ls

b)

pwd

c)

cd

d)

mkdir

22.

What does GNU stand for?

a)

General Network Utility

b)

Global Native Unix

c)

GNU's Not Unix

d)

General Nested Usage

23.

Which command is used to list the contents of a directory in Linux?

a)

list

b)

show

c)

dir

d)

ls

24.

By default, bash stores the last ____ commands you have entered.

a)

2000

b)

1000

c)

500

d)

100

25.

If you look at the output of the ls command, the first ten characters of the listing are the:

a)

bytes

b)

owner of the file

c)

binders

d)

file attributes

26.

Most everyone accessed Unix remotely by using a _____ until the mid-1990's.

a)

mouse

b)

terminal

c)

transceiver

d)

satellite phone

27.

What command is used to change the permissions of files and directories?

a)

chmod

b)

chown

c)

cp

d)

mv

28.

Which command is used to download files from the internet?

a)

get

b)

fetch

c)

wget

d)

download

29.

What is the command to display the manual pages of other commands?

a)

man

b)

help

c)

info

d)

doc

30.

Which file system is commonly used in Linux distributions?

a)

NTFS

b)

FAT32

c)

ext4

d)

HFS+

31.

What is the default text editor in many Linux distributions?

a)

Notepad

b)

Vi/Vim

c)

Emacs

d)

Nano

32.

What command is used to view the end of a file?

a)

head

b)

less

c)

tail

d)

more

33.

Which command is used to copy files in Linux?

a)

cp

b)

mv

c)

rm

d)

ls

34.

What is the command to search for a specific text within files?

a)

find

b)

grep

c)

locate

d)

search

35.

Which command is used to remove directories in Linux?

a)

rm

b)

rmdir

c)

del

d)

erase

36.

What does the 'chmod +x' command do to a file?

a)

Deletes the file

b)

Changes the file's owner

c)

Makes the file executable

d)

Removes all permissions

37.

Which command is used to display the list of all running processes in Linux?

a)

ps

b)

ls

c)

exec

d)

run

38.

What year was the first version of the Linux kernel released?

a)

1991

b)

1985

c)

1994

d)

1989

39.

What was the original intention behind creating Linux?

a)

To create a free operating system for personal computers

b)

To develop a commercial software product

c)

To compete with Microsoft Windows

d)

To fix a bug in MINIX

40.

Which command is used to change the current directory in Linux?

a)

ls

b)

pwd

c)

cd

d)

mkdir

41.

How can you display the contents of a file in the terminal?

a)

cat

b)

edit

c)

open

d)

view

42.

Which command is used to find the type of a file in Linux?

a)

type

b)

file

c)

findtype

d)

what

43.

How do you enter insert mode in Vim?

a)

Pressing 'i'

b)

Pressing 'v'

c)

Pressing 'x'

d)

Pressing 'o'

44.

Which command in Vim saves changes and exits the editor?

a)

:w

b)

:q!

c)

:wq

d)

:exit

45.

How can you undo the last action in Vim?

a)

Pressing 'r'

b)

Pressing 'u'

c)

Pressing 'ctrl + r'

d)

Pressing 'ctrl + z'