wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux-1 Exam Rehersal 2023

Total questions: 28

Worksheet time: 23mins

Name
Class
Date
1.

What is a 'distribution' ?

a)

The graphical user interface components of Linux in a bundle

b)

A open-source-software tool than comes with Linux

c)

The Linux kernel, tools and applications bundled together

d)

An open-source-export service for Linux

2.

The CLI....

a)

Can only be started one single time per Linux-environment

b)

Relies primarily on keyboard input

c)

Consists of menus and tools to help users navigate

d)

Is a Linux Command

3.

The long-term support time for SUSE LTS is...

a)

5 years

b)

10 years

c)

13 years

d)

15 years

4.

What are ‘KDE, GNOME and UNITY'?

a)

They are Linux distributions

b)

They are Linux packages used for software integration and development

c)

They are commands you can use from the Linux command line

d)

They are Desktop environments for Linux

5.

What is RHEL

a)

A Linux command

b)

A graphical user interface for Linux

c)

A Linux distribution

d)

A Linux Package Manager

6.

Which Linux application is a Relational Database Software package (RDBMS)? (One or more answers are correct)

a)

PostgreSQL

b)

MongoDB

c)

Mysql

d)

Sql4Linux

e)

MariaDB

7.

What is the default directory in Linux where most logs, like syslogs are located?

a)

/log

b)

/tmp

c)

/var/log

d)

/home/log

8.

Linux excels at running server applications because...

a)

It is free

b)

Of its reliability and efficiency

c)

It can be used for cloud-based applications

d)

It works well on Virtual Machines

9.

LibreOffice is.. (one or more answers are correct)

a)

A fork of the OpenOffice application

b)

An email client

c)

Can be used of office productivity

d)

Is free

10.

Select the Linux shells (one ore more correct)

a)

Bash

b)

KSH

c)

C Shell

d)

ZSH

11.

In VI which command saves your edited file and ends the VI-editor?

a)

wq!

b)

quit

c)

/q

d)

endsave

12.

What command do you use to create a ‘shortcut’ for a file or directory?

a)

link

b)

sc

c)

mp

d)

ln

13.

Check the Console Text-Editors for Linux:

a)

VIM

b)

Emacs

c)

Pico

d)

Edit

e)

Nano

14.

RPM is...

a)

A package manager for Red Hat Linux

b)

A simple tool for Ubuntu Linux

c)

A remote program manager tool for Linux

d)

A command for Debian-based Linux distributions

15.

When seaching for text in VI, VIM or in the MAN-pages, which command is used?

a)

‘s’ character

b)

‘l’ character

c)

‘f’ character

d)

‘/’ character

16.

Which of the following answers is true (one or more might be correct)

a)

Each file has at least one hard link

b)

When creating a hard link, both original file and link will point tot the same Inode

c)

With the ‘ln command’ you can create both hard-links and soft-links

d)

A hard-link can never be used cross from one device or partition to another

e)

Soft-links can be found with the ‘ls -l’ command

17.

What is the core task of X-Windows?

a)

Makes it possible to run Windows games on Linux

b)

Runs the base graphical system (Window management) on Linux

c)

Makes Linux run on Microsoft Windows (cross platform application)

d)

Connects Linux to Microsoft Windows (file sharing)

18.

With an Alias you can...

a)

Create new commands

b)

Create an alias for a variable

c)

Create short nicknames for longer commands

d)

Create an alternative hostname

19.

The correct command to go to the home-directory of the current user is:

a)

cd ~

b)

cd -h

c)

cd home

d)

cd ..

20.

For a Linux CLI command, options are used to...

a)

Modify the core behavior of a command

b)

Provide additional information (such as a filename)

c)

Set variables

d)

Make scripted commands more advanced

21.

Which Linux Licenses allow you to modify and redistribute software on Linux

a)

GNU

b)

OSI

c)

LGPL

d)

GPLv2 and GPLv3

22.

What is the Linux command you can use to find out where a specific command is located on the filesystem ?

a)

search

b)

which

c)

path

d)

find

23.

If you create a file in your homedir using the Linux command ‘touch testfile1234.txt’ and you want to find the file with a search command... What is correct to locate the new file (one or more answers can be correct)

a)

Use the command: locate testfile1234.txt

b)

Use the command: find ~ -name testfile1234.txt

c)

Use the command: find -name *.txt

d)

First run ‘sudo updatedb’ and then run ‘locate testfile’

24.

Which command removes only write permissions from every object below /project, while leaving other permissions unchanged?

a)

chmod -R a-w /project/*

b)

chmod -R ugo=rx /project/*

c)

chmod -R 555 /project/*

d)

chmod -R ugo-2 /project/*

e)

chmod -R -ugo-w /project/*

25.

When typing the command ‘who’ what will be the output?

a)

The password expiracy date of your current userID

b)

Your current userID and your working directory

c)

Your current userID and for how long you are logged in

d)

A list of all users logged in on the system

26.

What configuration file is built automatically to specify which Domain Name System (DNS) servers will be queried

a)

/etc/hosts

b)

/etc/resolv.conf

c)

/etc/sysconfig/dns

d)

/etc/named.conf

27.

When entering ‘!<num>’ on the command prompt , what will happen (<num> replaced by a numeric value)?

a)

The command with number <num> from the command history will be executed

b)

You will get a ‘value not found’ error

c)

The Variable ‘!’ will be loaded with the value of <num>

d)

The value <num> will be printed on the screen

28.

The acronym GNU stands for

a)

Go Next Unit

b)

Gnu's Not Unix

c)

Graphic Native Unix

d)

General New User-interface