Chapter 20: Scripting and Remote Access Flashcards
Environment variables are inherited in a structured fashion (top to bottom):
System
User
Program (not inherited)
A/An ____ variable (environment) is defined for use by the system, or any user or program.
system
A/An ____ variable (environment) is defined for use by a specific user, or any program executing under that specific user.
user
A/An ____ variable (environment) is defined for use inside a script or application and can only be accessed from inside the script or application.
program
A/An ____ loop is a stepped loop with a defined beginning and a defined end; each step is defined as well.
For
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.
While
Windows Batch scripts file extension?
.bat or .cmd
PowerShell scripts file extension?
.ps1
Visual Basic Script (VBScript) file extension?
.vbs
Linux/Unix Shell scripts file extension?
.sh
Python scripts file extension?
.py
JavaScript file extension?
.js