Shell Scripting Features
-
Shell variables
-
TERM
-
DISPLAY
-
PS1 & PS2
-
PATH
-
Environment variables -- export
-
Redirection of output to arglist.
-
Execution control structures:
-
if statement
-
for statement
-
switch statement
Shell Profile & .kshrc
-
Shell start-up script run at login time
-
.profile
-
Script run at the start of every shell
-
.kshrc (or .bashrc etc.)
-
Use to set PATH variables and prompts
-
Use to set aliases and define functions
-
Used to configure machine dependant options.