First page Back Continue Last page Graphics
Some Shell Stuff
We've been using the bash shell from the command line all semester. However, Chapter 13 is full of details. Be sure to read and re-read it carefully, taking notes while you do. Some people even write or highlight right in their book - if you can believe it!
Note, in particular, such things as:
- set -x and set +x to turn script expansion tracing on and off;
- set -v and set +v to toggle script line tracing;
- set -n and set +n to toggle script execution;
- or use #! /bin/bash -xvn to set them all on;
- controlling prompt contents (especially, but not only, PS1 and PS2);
- built-in commands like alias, dirs, help, popd, pushd, and type;
- And much more! It's a big chapter.