Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Review 1 Linux

Total questions: 79

Worksheet time: 41mins

Name
Class
Date
1.

Where is most documentation for Linux found?

a)

/usr/file/doc

b)

/user/file/doc

c)

/user/share/doc

d)

/usr/share/doc

2.

Which is not a command help tool?

a)

man

b)

user

c)

help

d)

info

3.

Which option/argument opens help on a command?

a)

command help

b)

command --help

c)
command --info
d)
command help --verbose
4.

What is the correct command for getting the man page for the 5th category of passwd?

a)
man passwd 5
b)

man --5 passwd

c)
man 5 passwd
d)

man 5 --passwd

5.

What is the correct format to retrieve the info page for mkdir?

a)
man mkdir
b)
info mkdir
c)
mkdir --info
d)
help mkdir
6.

What search type finds files in a database of file locations?

a)

find

b)

locate

c)

--locate

d)

--find

7.

A shell command can be described as a series of words, the first of which is usually the:

a)

Command

b)

Option

c)

Argument

8.

(a)   to the command, usually indicated by a single letter preceded by a dash (hyphen), modify the action of the command.

9.

Command arguments are also referred to as:

a)

Options

b)

Parameters

c)

Commands

d)

Syntax

10.

What is equivalent to folders in a traditional windows environment?

a)

Directories

b)

Pages

c)

Files

d)

Tree

11.

What is /tmp?

a)

Stores temporary files

b)

Stores small programs

c)

Stores files

d)

Stores hardware

12.

What does /boot do?

a)

Stores files to boot Linux

b)

Stores basic configs

c)

Stores binaries

d)

Stores shared libraries

13.

A data structure that describes a file: ownership, size, location on disk is knows as?

(a)  

14.

The relationship that exists between a file and the directory that lists its name is known as?

(a)  

15.

The tilde symbol ~ can be used to:

a)

Home directory

b)

Specific User

c)

File Explorer

d)

Windows

16.

What is the visual cue that a variable is environmental?

a)

It begins with $

b)

It is in capital letters

c)

It is lower case

d)

It begins with a number

17.

What is a limitation of a local variable?

a)
Local variables can be accessed globally.
b)
Local variables are stored in permanent memory.
c)
Local variables cannot be accessed outside their defining scope.
d)
Local variables can be shared between functions.
18.

For a variable to persist outside of the shell where does it need to be saved?

a)

In a configuration file

b)
As a local variable in a script
c)
In the shell history
d)
In a text file only
19.

What operator is used to set a variable?

a)
==
b)
=
c)
+=
d)
-=
20.

What command removes values from variable?

a)

unset

b)
add
c)
append
d)
clear
21.

Which is the correct syntax for showing and clearing a variable?

a)

unset greeting
echo $greeting

b)

unset $greeting
echo $greeting

c)

unset greeting
echo greeting

d)

$unset greeting
echo $greeting

22.

What command makes a local variable into an environmental one?

a)
set
b)
define
c)
declare
d)
export
23.

What does PATH=$PATH:new_directory

a)
It updates the PATH variable to include 'new_directory'.
b)
It removes 'new_directory' from the PATH variable.
c)
It sets the PATH variable to 'new_directory' only.
d)
It checks if 'new_directory' exists in the current directory.
24.

What command creates a directory with a sub-directory?

a)
mkdir -d parentDir/childDir
b)
mkdir -p parentDir/childDir
c)
mkdir parentDir/childDir
d)
create dir parentDir/childDir
25.

What happens if you touch a file that already exists?

a)
The file is deleted.
b)
The file is compressed.
c)
The file's content is overwritten.
d)
The file's timestamp is updated.
26.

How would you create a file called names with the name Bob already in it?

a)
echo 'Bob' >> names
b)
cat > names <<< 'Bob'
c)
touch names && echo Alice
d)
echo Bob > names
27.

How would you rename the file Bob to Susan?

a)

cd Susan Bob

b)

mv Susan Bob

c)

rm Bob Susan

d)

mv Bob Susan

28.

If you wanted to move file1 into dir3, what command would you use?

a)
cp file1 dir3
b)
mv file1 dir3
c)
move file1 to dir3
d)
rename file1 dir3
29.

What command copies a file called Bob into the directory Susan?

a)
mv Bob Susan/
b)
copy Bob to Susan/
c)
cp Susan/ Bob
d)
cp Bob Susan/
30.

What happens if you try to delete a non-empty directory using rmdir?

a)
The rmdir command will delete the directory and its contents.
b)
The rmdir command will fail and return an error.
c)
The rmdir command will prompt for confirmation before deleting.
d)
The rmdir command will move the directory to a temporary location.
31.

What is the safest way to delete a directory interactively?

a)

rm -r

b)

rm -ri

c)

rmdir

d)

rm --force

32.

What does ls file? return?

a)

Any file that starts with "file"

b)

Files with exactly one additional character after "file"

c)

Files that contain a "?"

d)

Any file containing "file"

33.

What is a directory in Linux?

a)
A directory is a special type of user account in Linux.
b)

A directory in Linux is a container for files and other directories.

c)
A directory in Linux is a command used to list files.
d)
A directory is a type of file that cannot contain other files.
34.

Which filename is valid without escaping characters?

a)

my file.txt

b)

my_file.txt

c)

my\file.txt

d)

"my file.txt"

35.

What does the pwd command do?

a)
The pwd command displays the current working directory.
b)
The pwd command displays the system's hostname.
c)
The pwd command lists all files in the current directory.
d)
The pwd command changes the current directory.
36.

What command moves up one directory level?

a)
cd /
b)
cd .
c)
cd ~
d)
cd ..
37.

Which is an absolute path?

a)

Reports

b)

/home/user/Documents

c)

../Reports

d)

./Documents

38.

What does this command do?
cd ../Reports

a)
Changes the current directory to the Reports directory one level up.
b)
Deletes the Reports directory.
c)
Creates a new Reports directory.
d)
Moves to the home directory.
39.

What does .. represent in Linux?

a)
The parent directory of the current directory.
b)
The root directory of the filesystem.
c)
A hidden file in the current directory.
d)
The current directory itself.
40.
Which Linux distribution is specifically designed for the Raspberry Pi computer?
a)
Raspbian
b)
Debian
c)
Ubuntu
d)
Fedora
41.
What is the primary purpose of package management tools like apt-get and yum?
a)
Install and update software
b)
Monitor system logs
c)
Backup files
d)
Optimize system performance
42.
Which of the following is a popular open-source office productivity suite?
a)
LibreOffice
b)
Microsoft Office
c)
Google Docs
d)
Adobe Acrobat
43.
Android operating system is based on which kernel?
a)
Linux
b)
Windows NT
c)
Unix
d)
BSD
44.
Which web browser is open source and commonly used in Linux systems?
a)
Firefox
b)
Chrome
c)
Edge
d)
Safari
45.
What is MariaDB?
a)
A database server
b)
An email client
c)
A text editor
d)
A web server
46.
Which programming language is traditionally associated with shell scripting in Linux?
a)
Bash
b)
Python
c)
Java
d)
C
47.
What type of Linux distribution is Ubuntu LTS?
a)
Long-term support
b)
Rolling release
c)
Beta
d)
Minimal install
48.
Which of these is an open-source alternative to Dropbox?
a)
Nextcloud
b)
Google Drive
c)
OneDrive
d)
iCloud
49.
What is NGINX?
a)
A web server
b)
A database
c)
An operating system
d)
A programming language
50.
Which distribution is developed by Red Hat for the community?
a)
Fedora
b)
CentOS
c)
RHEL
d)
openSUSE
51.
What is GIMP primarily used for?
a)
Image editing
b)
Text processing
c)
Spreadsheet management
d)
Video editing
52.
Which package management system is used in Debian-based distributions?
a)
dpkg
b)
rpm
c)
yum
d)
pacman
53.
What kind of systems commonly use embedded Linux?
a)
IoT devices
b)
Supercomputers
c)
Desktops
d)
Mainframes
54.
Which programming language is most commonly used for system administration in Linux?
a)
Bash
b)
Python
c)
Perl
d)
PHP
55.
What is Samba used for in Linux systems?
a)
File sharing
b)
Image editing
c)
Web development
d)
Network monitoring
56.
Which Linux distribution is known for its scientific computing focus?
a)
Scientific Linux
b)
Ubuntu
c)
Fedora
d)
openSUSE
57.
What is the main advantage of cloud-based Linux deployments?
a)
Scalability
b)
Cost efficiency
c)
Ease of use
d)
Compatibility
58.
Which of these is an open-source email client?
a)
Thunderbird
b)
Outlook
c)
Gmail
d)
ProtonMail
59.
What type of software license is typically used for Linux distributions?
a)
GPL
b)
BSD
c)
MIT
d)
Apache
60.
What is the primary philosophy behind open source software?
a)
Collaborative development
b)
Profit maximization
c)
Data privacy
d)
Monopoly creation
61.
Which license is known for its 'copyleft' provision requiring derivative works to be open source?
a)
GPL
b)
BSD
c)
MIT
d)
Apache
62.
What term describes software that is both free and open source?
a)
FOSS
b)
Shareware
c)
Proprietary software
d)
Closed source
63.
Which organization is responsible for defining what qualifies as open source?
a)
OSI
b)
FSF
c)
Apache Foundation
d)
Linux Foundation
64.
What is a key characteristic of permissive licenses?
a)
Allows proprietary use
b)
Requires sharing derivative code
c)
Restricts distribution
d)
Disallows modifications
65.
Which best describes the BSD license?
a)
Permissive license
b)
Copyleft license
c)
Public domain
d)
Restricted license
66.
What is a primary concern when accessing the Linux terminal?
a)
Accidental data loss
b)
Slow performance
c)
Lack of internet
d)
File incompatibility
67.
Which is a common use of Linux in industry?
a)
Server hosting
b)
Graphic design
c)
Gaming
d)
Accounting software
68.
What is an important browser privacy consideration?
a)
Data tracking
b)
Page speed
c)
Tabs availability
d)
Bookmark export
69.
Which describes Creative Commons licensing?
a)
Flexible copyright
b)
No copyright
c)
Strict license
d)
Commercial only
70.
What is a key feature of open source business models?
a)
Customization
b)
Proprietary services
c)
Standardization
d)
High licensing fees
71.
Which tool is essential for Linux command line access?
a)
Terminal
b)
Control Panel
c)
Task Manager
d)
File Explorer
72.
What best describes FOSS?
a)
Free and open source software
b)
Proprietary software
c)
Trial software
d)
Commercial software
73.
Which is a primary concern in Linux privacy?
a)
Data tracking
b)
Hardware failure
c)
License expiration
d)
App unavailability
74.
What characterizes permissive open source licenses?
a)
Allows proprietary modifications
b)
Prohibits distribution
c)
Restricts use
d)
Requires attribution only
75.
Which is a key aspect of virtualization in Linux?
a)
Running multiple systems on one machine
b)
Data encryption
c)
Cloud access
d)
Data replication
76.
What is important when saving web content?
a)
Format compatibility
b)
Color resolution
c)
Font size
d)
File redundancy
77.
Which describes the FSF's main goal?
a)
Promote free software
b)
Develop operating systems
c)
Monitor web usage
d)
Provide software licenses
78.
What is essential for Linux terminal usage?
a)
Command knowledge
b)
Graphic design skills
c)
High-speed internet
d)
Administrative privileges
79.
Which represents an open source presentation tool?
a)
LibreOffice Impress
b)
Microsoft PowerPoint
c)
Prezi
d)
Google Slides