Module 21 Flashcards

Linux and Scripting

1
Q

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

dig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

PowerShell ISE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

nano

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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. What is the following feature called?

A

Swap partition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

Variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Kyle is working off a macOS while Linda is working on a Linux system. Linda needs to share a file with Kyle for the current project the two are working on. Linda uses a specific file server that allows her to share the file with other operating systems that are within her Network. What would the server be called?

A

Samba

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Sandra is working from home today and has decided she will be gaining remote access to Linux today at a shell prompt. Sandra knows that the method she is choosing does not encrypt her transmissions. What would the remote access type be called?

A

Telnet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

cp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Brandon being the lead technician is asked to setup a new user account to the corporate Ubuntu Server. In order to start the process, Brandon signs into the root account of the server and proceeds to create the account. What is the above process of logging into the root account called?

A

Superuser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

pwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

Clone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Nathan is working on a project within the Windows command line. He decides that instead of repetitively updating the files within the directory manually that he would like to run a file that would go through the process for him and would be able to execute a list of Window commands. What would allow Nathan to perform these activities?

A

Batch File

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

Bash shell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

Environmental Variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Gary was in the process of installing a program using the terminal within Linux when he received a message stating that a superuser is required to run the command. Using a specific command, Gary was able to allow root user rights for this one installation. What command did he use?

A

sudo

17
Q

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

18
Q

Sam is assisting an internal user with setting up their Ubuntu Server. He notices a report from the server that states a few updates are required. He installs the necessary files so that he can install the software. What would these files be called?

A

Packages

19
Q

Sarah is working within the Linux terminal updating necessary files for the company. While running commands, she notices how long it is taking her to write out singular commands. In order to save time, she decides to place the commands within a text file and begins to run them as a batch. This allowed her to update many files within a short period of time. What would the text file being executed be called?

A

Script

20
Q

Susan has been tasked with reviewing the company’s files within PowerShell. On further review, she comes across a file that needs to be edited. She uses a # symbol and proceeds to leave a comment and not a command. What would the process be referred to as?

A

Comment Syntax

21
Q

Samantha is in the process of executing a script for testing. In order to proceed with this process, she must make sure the correct program is used. What is the type of environment for executing the script called?

A

Run-Time Environment

22
Q

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

Shell Scripts

23
Q

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

df

24
Q

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

25
Q

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

26
Q

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

27
Q

Through the process of installing Ubuntu Server in VM, Veronica is faced with partitions. Going through the first partition, she notices that it has been automatically created and that it is used to boot the system to manage the dual-boot systems. What is the partition called?

A

GRUB

28
Q

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

chown

29
Q

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

yum

30
Q

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

Live CD