Red Hat Linux
Red Hat Linux's default shell is the popular Bourne Again Shell (or bash). If this is your shell, you'll need to edit your account's startup script. To do this, log in under your own account (usually not root), and add the following lines to the ~/.bashrc file using your editor of choice:
Again, if you've chosen different directories for the previous installation, change them as necessary; if you're not sure which shell you're using, type echo $SHELL to find out.
You're all done with installing—time to try out Tomcat!