4.8 - Scripting Languages Flashcards
1
Q
Scripting languages
A
- Automate with the right tools
– The script should match the requirement - May be specific to a task or operating system
– Your choices may already be limited - You will probably learn more than one of these
– An important skill for any technician
2
Q
Batch files
A
- .bat file extension
– Scripting for Windows at the command line
– Legacy goes back to DOS and OS/2
3
Q
Windows PowerShell
A
- Command line for system administrators
– .ps1 file extension
– Included with Windows 10 and 11 - Extend command-line functions
– Uses cmdlets (command-lets)
– PowerShell scripts and functions
– Standalone executables - Automate and integrate
– System administration
– Active Domain administration
4
Q
Microsoft Visual Basic Scripting Edition
A
- VBScript
– .vbs file extension - General purpose scripting in Windows
– Back-end web server scripting
– Scripting on the Windows desktop
– Scripting inside of
Microsoft Office applications
5
Q
Shell script
A
- Scripting the Unix/Linux shell
– Automate and extend the command line - Starts with a shebang or hash-bang #!
– Often has a .sh file extension
6
Q
JavaScript
A
- Scripting inside of your browser
– .js file extension - Adds interactivity to HTML and CSS
– Used on almost every web site - JavaScript is not Java
– Different developers and origins
– Very different use and implementation
7
Q
Python
A
- General-purpose scripting language
– .py file extension - Popular in many technologies
– Broad appeal and support