wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Operating System Application

Total questions: 66

Worksheet time: 33mins

Name
Class
Date
1.

is a Unix-like, open source and community-developed operating system for computers, servers, mainframes, mobile devices and embedded devices.

a)

Linux

b)

Applications

c)

Shell

d)

Bash Shell

2.

1. is open source software

2. provides easy access to a powerful and scriptable command-line interface (CLI)

3. is a modular operating system that allows you to easily replace or remove components

a)

Role of the Kernel

b)

Linux

c)

File Systems

d)

Linux Distribution

3.

The three main components of an operating system they are the kernel, shell, and file system

a)

Applications

b)

Bash Shell

c)

Brian Fox

d)

Role of the Kernel

4.

Make requests to the kernel and receive resources, such as memory, CPU, and disk, in return. The kernel also abstracts the complicated details away from the application

a)

Role of Open Source

b)

Linux command line

c)

Applications

d)

Command

5.

is an interactive interface that allows users to execute other commands and utilities in Linux and other UNIX-based operating systems

a)

External Commands

b)

Functions

c)

Shell

d)

Basic Command Syntax

6.

are a lot more powerful than the Windows command line, because they function as a scripting language as well, with a complete set of tools

a)

Linux Shells

b)

Linux Distributions

c)

Types of Open Source Licenses

d)

Bourne Shell (BASH)

7.

is a type of interpreter that processes shell commands. It is a Unix shell and command language

a)

clear

b)

External Commands

c)

ls

d)

Bash Shell

8.

Bash is a Unix shell and command language written by

a)

Brian Fox

b)

Bill Gates

c)

Mark Zuckerberg

d)

Brian May

9.

is a hierarchy of directories and files with the root / directory at the top of the directory tree. It is a structure created on a disk partition consisting of tables defining the locations of directories and files.

a)

Role of Open Source

b)

File Systems

c)

Linux

d)

Linux Distributions

10.

Is an operating system made from a software collection that is based upon the Linux kernel and, often, a package management system.

a)

Linux Distributions

b)

Internal Commands

c)

Linux ShellsLinux command line

d)

Linux Shells

11.

takes a source-centric view of software. The open source philosophy is that you have a right to obtain the software and to modify it for your own use. Linux adopted this philosophy to great success

a)

Aliases

b)

Types of Open Source Licenses

c)

Bourne Shell (BASH)

d)

Role of Open Source

12.

1. Copyleft licenses that are designed to encourage keeping code open source.

2. Permissive licenses that are designed to maximize code reusability.

a)

External Commands

b)

External Commands

c)

Types of Open Source Licenses

d)

External Commands

13.

is a text interface to your computer. Also known as shell, terminal, console, command prompts and many others, is a computer program intended to interpret commands

a)

Functions

b)

Linux command line

c)

Functions

d)

External Commands

14.

The default shell for users in Red Hat Enterprise Linux and CentOS

a)

Bourne Shell (BASH)

b)

Command

c)

Aliases

d)

External Commands

15.

A software program that when executed on the command line, performs an action on the computer.

a)

clear

b)

Command

c)

Functions

d)

pwd

16.

Also called built-in commands, these commands are built-in to the shell itself. A good example is the cd (change directory) command as it is part of the Bash shell.

a)

External Commands

b)

Sources of Commands

c)

Internal Commands

d)

Basic Command Syntax

17.

These commands are stored in files that are searched by the shell. If you type the ls command, then the shell searches through a predetermined list of directories to try to find a file named ls that it can execute.

a)

Internal Commands

b)

Role of Open Source

c)

Brian Fox

d)

External Commands

18.

can override a built-in command, function, or a command that is found in a file. can be useful for creating new commands built from existing functions and commands.

a)

Aliases

b)

rmdir

c)

sudo

d)

Functions

19.

can also be built using existing commands to either create new commands, override commands built-in to the shell or commands stored in files.

a)

locate

b)

Functions

c)

chown

d)

Unix Name

20.

What are the Sources of Commands?

a)

Internal Commands

b)

External Commands

c)

Aliases

d)

Functions

e)

Linux command line

21.

allows the user to view the contents of a directory. It lists the files and directories. This displays the contents of the current working directory by default

a)

ls

b)

pwd

c)

clear

d)

cd

22.

clears the terminal screen

a)

clear

b)

touch

c)

rmdir

d)

locate

23.

It allows users to find the path of the current working directory or folder they are in

a)

cd

b)

pwd

c)

cp

d)

mv

24.

Used to navigate through the Linux files and directories. You will have to write the full path or the name of the directory to use this command

a)

mv

b)

sudo

c)

tail

d)

cd

25.

Used to copy files from the current directory to a different directory

a)

cp

b)

man

c)

cat

d)

rm

26.

Used to move a file from a given directory to a different directory. It helps programmers to organize data easily. You can also use this command to rename files. The file or directory that is moved is deleted from the working directory

a)

rm

b)

mv

c)

choown

d)

echo

27.

deletes directories as well as the contents within them. This command needs to be used carefully as it deletes everything.

a)

touch

b)

locate

c)

rm

d)

df

28.

allows users to delete a directory, provided that the directory is empty. You will need to ensure that there is no file or subdirectory under the directory that you want to delete

a)

uname

b)

rmdir

c)

Unix name

d)

history

29.

set of characters can be enclosed that will be used to match exactly one character.

a)

bracket

b)

wildcard

c)

history-c

d)

interactive shell

30.

can be used to match any string, including the empty string

a)

asterisk

b)

file globbing

c)

initialization files

d)

chmod

31.

A _______ is essentially a symbol which may be used to substitute for one or more characters

a)

nano

b)

./welcome.sh

c)

wildcard

d)

log in shell

32.

is a feature provided by the UNIX/Linux shell to represent multiple filenames by using special characters called wildcards with a single file name

a)

PATH=$PATH:

b)

/home/student/location/1/welcome.sh

c)

Interactive shell

d)

file globbing

33.

clears entire content of the history file

a)

history-c

b)

log in shell

c)

chmod

d)

man

34.

Log in shell & Interactive shell

a)

/home/student/location/1/welcome.sh

b)

Initialization files

c)

.sh

d)

nano

35.

/etc/profile

~/.bash_profile

~/.bashrc

/etc/bashrc

a)

Log in shell

b)

chmod u+x

c)

relative path

d)

path

36.

This command prints detailed information about your Linux system. The information includes machine name, kernel, operating system, and more. Different options tell about different pieces of information

a)

unix name

b)

uname

c)

history

d)

tail

37.

Used to check your connection to a server. It checks the reachability of a host on an Internet Protocol (IP) network"

a)

ping

b)

argument

c)

useradd

d)

man

38.

can be used to specify something for the command to act upon. Following a command, any desired _______ are allowed or are required depending on the command

a)

argument

b)

quoting

c)

cat

d)

ping

39.

can be used to specify something for the command to act upon. Following a command, any desired _______ are allowed or are required depending on the command

a)

local variable

b)

global variable

c)

variable

d)

int

40.

you can create a new blank file with the given name.

a)

touch

b)

sudo

c)

df

d)

new

41.

enables users to locate a file. If you don't remember the exact file name, you can use the -i argument to make it case-insensitive

a)

locator

b)

du

c)

df

d)

locate

42.

It enables users to run some commands as a super user or System Administrator that normal users cannot do. You can run such commands that need elevated rights on a Linux system

a)

chow

b)

echo

c)

sudo

d)

cat

43.

users can get the information related to file systems about total space and available space. You can get a report on display the size, available space, and system's disk space usage, and more. This command shows the result in percentage and KBs

a)

quotes

b)

chown

c)

prcnt

d)

df

44.

shows how much space a file or a directory takes.

a)

show

b)

du

c)

dir

d)

spcdir

45.

you can change the ownership of a file or folder to the specified username

a)

chown

b)

chow

c)

cow

d)

echo

46.

displays a text or a string to the standard output or a file

a)

print

b)

echo

c)

show

d)

disp

47.

This command allows users to view the first lines of any text file. It shows the first ten lines by default.

a)

head

b)

first

c)

showhead

d)

def

48.

This command shows the last ten lines of a text file

a)

last

b)

tail

c)

bottom

d)

show.last

49.

This command prints detailed information about your Linux system. The information includes machine name, kernel, operating system, and more. Different options tell about different pieces of information

a)

kernel name

b)

uname

d)

newname

50.

uname stands for

a)

unix name

b)

unique name

c)

unname

d)

unixxname

51.

shows the previously used commands. It displays the information about the commands executed by a user

a)

prev

b)

previous

c)

history

d)

hist

52.

This command is used to check the reference manual pages for commands or programs

a)

man

b)

cat

c)

help

d)

.help

53.

It is used to add or remove a user on a Linux server

a)

remove

b)

add

c)

useradd

d)

userrem

54.

is used to display the contents of a file

a)

cont

b)

cat

c)

man cat

d)

ping

55.

Arguments that contain unusual characters like spaces or non-alphanumeric characters will usually need to be quoted, either by enclosing them within double quotes or single quotes

a)

options

b)

quoting

c)

tab key

d)

variable

56.

can be used with commands to expand or modify the way a command behaves. They can be specified after the command name

a)

variable

b)

options

c)

tab key

d)

single quotes

57.

can be used with commands to expand or modify the way a command behaves. They can be specified after the command name

a)

PATH Variable

b)

Absolute path

c)

unset

d)

environmental variable

58.

A variable that can only be accessed from a specific portion of a program. Is only available to the shell in which it was created

a)

variable

b)

local variable

c)

global variable

d)

environmental variable

59.

is your way of telling Linux to finish the current word you are typing

a)

space key

b)

enter key

c)

tab key

d)

shift key

60.

prevent the shell from interpreting any special characters

a)

' '

b)

" "

c)

/

d)

//

61.

will prevent the shell from interpreting some of these special characters

a)

" "

b)

//

c)

' '

d)

/

62.

will prevent the shell from interpreting some of these special characters

a)

chmod u+x

b)

unset

c)

unet

d)

chmod

63.

contains a list of directories that are used to search for commands entered by the user. When the user types a command and then presses the Enter key, the directories are searched for an executable file that matches the command name.

a)

path variable

b)

absolute path

c)

relative path

d)

nano

64.

specifies the location of a file or directory from the top-level directory through all of the subdirectories to the file or directory. Always starts with the / character

a)

relative path

b)

absolute path

c)

path

d)

directory

65.

specifies the location of a file or directory from the top-level directory through all of the subdirectories to the file or directory. Always starts with the / character

a)

related path

b)

path relative

c)

relative path

d)

relatve dir

66.

Adds a directory to PATH

a)

PATH=$PATH:

b)

new.path

c)

PATH=NEW.PATH

d)

$newpath