wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux Exam training 1

Total questions: 27

Worksheet time: 15mins

Name
Class
Date
1.

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

a)

which

b)

find

c)

path

d)

locate

2.

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

a)

chmod -R 555 /project/*

b)

chmod -R ugo=rx /project/*

c)

chmod -R ugo-2 /project/*

d)

chmod -R a-w /project/*

3.

What is RHEL

a)

A Linux distribution

b)

A Linux Package Manager

c)

A Linux command

d)

A graphical user interface for Linux

4.

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

a)

wq!

b)

/q

c)

quit

d)

endsave

5.

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

a)

First run 'updatedb' and then run 'locate testfile'

b)

Use the command: locate testfile1234.txt

c)

Use the command: find -name *.txt

d)

Use the command: find /~ -name testfile1234.txt

6.

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

a)

Make scripted commands more advanced

b)

set variables

c)

Modify the core behavior of a command

d)

Provide additional information (such as a filename)

7.

What is a 'distribution'?

a)

An open-source-export service for Linux

b)

The graphical user interface components of Linux in a bundle

c)

The Linux kernel, tools and applications bundled together

d)

An open-source-software tool that comes with Linux

8.

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

a)

The value <num> will be printed on the screen

b)

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

c)

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

d)

You will get a 'value not found' error

9.

When typing the command 'who' what will be the output?

a)

The password expiracy date of your current userID

b)

Your currect userID and for how long you are logged in

c)

Your current userID and your working directory

d)

A list of all users logged in on the system

10.

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

a)

/etc/named.conf

b)

/etc/resolv.conf

c)

/etc/hosts

d)

/etc/sysconfig/dns

11.

Select a Linux shells (one or more correct)

a)

ZSH

b)

C Shell

c)

KSH

d)

Bash

12.

What is the core task of X-Windows?

a)

Makes Linux run on Microsoft Windows (cross platform application)

b)

Makes it possible to run Windows games on Linux

c)

Connects Linux to Microsoft Windows (file sharing)

d)

Runs the base graphical system (Window management) on Linux

13.

Check the Console Text-Editors for Linux:

a)

Emacs

b)

Pico

c)

VIM

d)

Nano

e)

Edit

14.

The CLI...

a)

Is a Linux Command

b)

Relies primarily on keyboard input

c)

Can only be started one single time per Linux-environment

d)

Consists of menus and tools to help users navigate

15.

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

a)

When creating a hard link, both original file and link will point to the same lnode

b)

Soft-links can be found with the 'ls -l' command

c)

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

d)

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

e)

Each file has at least one hard link

16.

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

a)

OSI

b)

LGPL

c)

GNU

d)

GPLv2 and GPLv3

17.

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

a)

MongoDB

b)

Sql4Linux

c)

PostgreSQL

d)

MariaDB

e)

Mysql

18.

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

a)

/var/log

b)

/tmp

c)

/log

d)

/home/log

19.

RPM is...

a)

A command for Debian-based Linux distributions

b)

A simple tool for Ubuntu Linux

c)

A package manager for Red Hat Linux

d)

A remote program manager tool for Linux

20.

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

a)

cd home

b)

cd ..

c)

cd ~

d)

cd -h

21.

With an Alias you can....

a)

Create new commands

b)

Create an alternative hostname

c)

Create an alias for a variable

d)

Create short nicknames for longer commands

22.

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

a)

'l' character

b)

'f' character

c)

'/' character

d)

's' character

23.

What are 'KDE, GNOME and UNITY'?

a)

They are Linux distributions

b)

They are commands you can use from the Linux command line

c)

They are Linux packaged used for software integration and development

d)

They are Desktop environments for Linux

24.

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

a)

MP

b)

LINK

c)

SC

d)

LN

25.

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

a)

Can be used of office productivity

b)

An email client

c)

A fork of the OpenOffice application

d)

Is free

26.

Linux excels at running server applications because....

a)

Of its reliability and efficiency

b)

It is free

c)

It works well on Virtual Machines

d)

It can be used for cloud-based applications

27.

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

a)

10 years

b)

15 years

c)

5 years

d)

13 years