1/8
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
The 3 general types of coding language
Shell Scripting Language
General Purpose Scripting Language
Programming Language
Shell scripting language
Type of coding language
Uses commands that are specific to an operating system.
General-purpose scripting language
Type of coding language
Uses statements and modules that are independent of the operating system
This type of script is executed by an interpreter
The interpreter implements the language for a particular OS
Programming Language
Type of coding language
Used to compile an executable file that can be installed to an OS and run as an app
Glue Language
Used to automate and orchestrate functions of multiple different OS and app software
Rather than implement an independent bit of software (as a programming language would)
The various types of scripting are often described as [_____]s
Script
Series of simple or complex commands, parameters, variables, and other components stored in a text file and processed by a shell interpreter – (A+)
For complex [____] and programming languages, an IDE would be of great use as it provides
Autocomplete features to help you write and edit code
Debugging tools to help identify whether the script or program is executing correctly
Can be developed in any text editor
An editor with [____] support can parse the syntax of the [____] and highlight elements of it
.SH Extension
Extension for a Linux shell script file format
The shebang in the first line of the script identifies the shell type (Bash, for instance) – (A+)
Every shell script starts with a “shebang” line that designates which interpreter to use e.g. Bash or Ksh
Permission
Run
In Linux, the script file must have the “execute” ___1___ set to ___2___
“Execute” can be set as a ___1___ for the user, group, or world (everyone)
PATH
Working
If a ____ variable to the script has not been configured, execute it from the _____ directory by
Preceding the filename with ./
e.g. ./hello.sh
or
Use the full path