Return value of last command: $?


Date command: date '+%m-%d' outputs 06-30

Command line arguments

$0 = command name, $1 = first argument, $2 = second argument, etc..

Setting environment variables

sh, ksh, bash: aa=AA; export aa

csh: setenv aa AA (no export needed)