wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Basic Scripting

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

Leslie is setting up Ubuntu for the first time. She has decided that she would like to install it from a USB flash drive, which would allow her to boot up a live version of Linux. What is this method referred to as?

a)

Package

b)

Bash shell

c)

Live CD

d)

GRUB

2.

Harrison has finished setting up his Ubuntu server and would like to start running commands in the terminal. This terminal stands for "Bourne Again Shell" and is a mixture of previous shells. What is the default terminal called?

a)

Package

b)

Bash shell

c)

Korn shell

d)

Script

3.

. Sandy has been asked to setup Linux for a new user within the company. As a service technician, she would like to setup Linux further by using key commands. She opens the Linux terminal and begins to type out the commands. What is the Linux terminal called?

a)

Shell Prompt

b)

Bash shell

c)

Korn shell

d)

Script

4.

A user calls into a service desk for assistance with their Ubuntu server. They would like a method to improve performance. Daniel being the service technician is more than happy to assist and provides a method that would hold virtual memory. This feature is called ​ (a)   ?

Choose from the below words
Swap Partition
Samba
GRUB
Korn
5.

Lincoln is in the process of resetting a password for one of the users in the Ubuntu server. In order to perform this action, he must gain access to the principal user account. This account not only changes password, but is the administrator for installing patches, managing backups, and installing software. Knowing this, what is the account called?

a)

Root Account

b)

pwd

c)

Shell Scripts

d)

Korn Shell

6.

While working within the Linux VM, Daniel came across a file that had unwarranted editing permissions. In order to have the file permissions changed, what command would Daniel be using?

a)

chmod

b)

pwd

c)

chown

d)

cp

7.

Sarah is within the Ubuntu server and would like to run a command within the terminal. She needs to make a copy of an important file. What command would allow her to do so?

a)

chmod

b)

pwd

c)

chown

d)

cp

8.

Lauran has attempted to save a file she has just finished updating but receives a message that the task is not able to be completed. To further troubleshoot, she checks how much disk space is available using a specific command. What command(s) allows her to take this action?

a)

rm

b)

df

c)

cat

d)

cp

9.

Elise is asked to remove a user from the Ubuntu server and to have the user's files changed to a different owner. In order to have the files owner changed, what command will Ellen need to run?

a)

pwd

b)

df

c)

cat

d)

chown

10.

Samuel is working on a project within the Ubuntu Server and would like further details on Example.com. He uses a specific command and receives further DNS information on the website. What command(s) did he use to gain the DNS information?

a)

pwd

b)

dig

c)

cd

d)

sudo

11.

Ron is navigating through the Linux terminal for a specific directory. He is unsure of what may be in his current file. He decides to run a specific command that populates a list of directories and files. This allows him to get back on track to locate the directory he is looking for. What command did Ron perform?

a)

ls

b)

dig

c)

cd

d)

rm

12.

Andy would like to edit one of the files within the Linux VM. He uses the terminal to locate the file and then runs a command that opens a direct path for editing the file. What command did Andy run to edit the file?

a)

cp

b)

chown

c)

nano

d)

rm

13.

Mary was navigating through the directory when she decided to use a command that would allow her to check the present working directory. After confirming the directory, Mary knew she was on the right track for editing a specific file. What command would Mary use to double check the directory?

a)

cp

b)

pwd

c)

ps

d)

rm

14.

Susan is working within the Linux terminal for her corporation. She has been asked to install software packages in RPM (Red Hat Package Manager). She uses a specific command to do just this. What command did Susan run to update the packages?

a)

cat

b)

yum

c)

df

d)

sudo

15.

. Frank has been asked to have the corporate Linux VM upgraded. Before he begins the process, he makes sure that a backup of the data and disk image of the entire Linux partition has been completed. What would the process of backing up the specific data be called?

a)

cat

b)

Clone

c)

Shell Scripts

d)

Samba

16.

Luan is in the process of creating a backup for the corporate Ubuntu Server. She has been informed that the company would not like to use a third-party backup software. With this information, Luan decides to write it herself. This allowed her to include tar commands to create an archive of many files and she was able to place it onto a USB drive for the company. What would the process be called?

a)

Script

b)

Clone

c)

Shell Scripts

d)

Superuser

17.

While going through PowerShell to organize files, Julie noticed an unknown data file. She proceeds to assign a value using the equal symbol, which further organizes the file setup. What did Julie initialize by naming the unknown data?

a)

Python Script

b)

Variable

c)

JavaScript

d)

Batch File

18.

Louis is currently working on a project using Python. In doing so she would like to use more than one command at a time so that she may increase her work performance. What would allow her to execute several Python commands?

a)

Python Script

b)

PowerShell Script

c)

JavaScript

d)

Comment Syntax

19.

While further working within the terminal, Sally decides she would like to create her own scripts so that she can save time typing the repetitive commands. What would allow her to create and test the Windows 10 script?

a)

Basic Loop

b)

PowerShell ISE

c)

Environmental Variable

d)

Integers

20.

Larry has just finished installing Node.js on his system and now needs to add it to PATH. He copies the file location down to the "bin" file and proceeds to navigate to the System Variables so that he may add it. What would allow Larry to find PATH and add the copied address link?

a)

Python Script

b)

PowerShell Script

c)

Environmental Variable

d)

Comment Syntax