Notas
COM584 Class Test #1 Week #3 Notes - created from Mind Map
Conteúdo das notas (1)
Página 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
Informações
- Descrição
- COM581 Notas sobre COM584 Class Test #1 Week #3 Notes - created from Mind Map, criado por Fearghal Savage em 02-03-2017.
- Criado por
- Fearghal Savage
- Visualizações
- 0
- Histórico
-
- Criado por Fearghal Savage · 2 mar 2017
- Copiado por Fearghal Savage · 2 mar 2017
- Copiado para Nota por Fearghal Savage · 2 mar 2017
- Avaliação