105 Shells and Shell Scripting KA Flashcards
105.1 Customize and use the shell environment
Key Knowledge Areas:
Set environment variables (e.g. PATH) at login or when spawning a new shell.
Write Bash functions for frequently used sequences of commands.
Maintain skeleton directories for new user accounts.
Set command search path with the proper directory.
Set environment variables (e.g. PATH) at login or when spawning a new shell.
a
Write Bash functions for frequently used sequences of commands.
a
Maintain skeleton directories for new user accounts.
a
Set command search path with the proper directory.
a
105.2 Customize or write simple scripts
Key Knowledge Areas:
Use standard sh syntax (loops, tests).
Use command substitution.
Test return values for success or failure or other information provided by a command.
Execute chained commands.
Perform conditional mailing to the superuser.
Correctly select the script interpreter through the shebang (#!) line.
Manage the location, ownership, execution and suid-rights of scripts.
Use standard sh syntax (loops, tests).
a
Use command substitution.
a
Test return values for success or failure or other information provided by a command.
a
Execute chained commands.
a
Perform conditional mailing to the superuser.
a
Correctly select the script interpreter through the shebang (#!) line.
a
Manage the location, ownership, execution and suid-rights of scripts.
a