Notes
COM584 Class Test #1 Week #3 Notes - created from Mind Map
Content of the notes (1)
Page 1
File Permissions
Shell Scripts
Exit Status Codes
- Sent to the shell when a program or command is quite.
Notations
Symbolic: Uses criteria such as categories and operators to change file permissions.
Example: chmod u+x file4
Numeric: Uses numbers from 0-7 to represent file permissions.
Example: chmod 774 file4
Compiler: A program that translate source code into executable program.
Interpreters: Accepts and parses instruction, the converts into executable instructions, then executes.
Variables
Environment: A placeholder for data that can change - gets its value automatically from the OS startup or shell being used.
E.G Home / Path
Shell: A placeholder for data that can change - value is assigned in a shell script.
Direct Assignment: Specify the variable's value in the command. Value outputted via echo command.
echo $var Fearghal
Prompt Method: User is asked to enter a value for the variable.
Positional Parameters: Parameter passed as argument to command.
Successful Commands: Exit Status Code = 0
Failed Commands: Exit Status Code > 0
Information
- Description
- COM581 Note on COM584 Class Test #1 Week #3 Notes - created from Mind Map, created by Fearghal Savage on 02/03/2017.
- Created by
- Fearghal Savage
- Views
- 0
- History
-
- Created by Fearghal Savage · Mar 2, 2017
- Copied by Fearghal Savage · Mar 2, 2017
- Copied to Note by Fearghal Savage · Mar 2, 2017
- Rating