Chapter 20: Scripting and Remote Access Flashcards

1
Q

Environment variables are inherited in a structured fashion (top to bottom):

A

System
User
Program (not inherited)

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

A/An ____ variable (environment) is defined for use by the system, or any user or program.

A

system

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

A/An ____ variable (environment) is defined for use by a specific user, or any program executing under that specific user.

A

user

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

A/An ____ variable (environment) is defined for use inside a script or application and can only be accessed from inside the script or application.

A

program

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

A/An ____ loop is a stepped loop with a defined beginning and a defined end; each step is defined as well.

A

For

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

A/An ____ loop continues to loop until either it is exited or a condition is met. It has no defined beginning, only a defined end, and it can be exited without consequence to the function.

A

While

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

Windows Batch scripts file extension?

A

.bat or .cmd

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

PowerShell scripts file extension?

A

.ps1

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

Visual Basic Script (VBScript) file extension?

A

.vbs

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

Linux/Unix Shell scripts file extension?

A

.sh

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

Python scripts file extension?

A

.py

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

JavaScript file extension?

A

.js

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