When you begin, the C- and TC- shell executes your ``.cshrc'' file and then your ``.login'' file. Your ``.cshrc'' file contains setups for general use and the ``.login'' file is often used to set up the terminal. The Bourne and Korn shells execute only your ``.profile'' file. The plain C-shell is set up as your default shell as it is available on most UNIX system, but you probably prefer TCSH because it allows such convenient things as command line recall and editing using the arrow keys, just like in VMS. In addition the TC-shell has a feature, which will allow you to type just enough of a commandname, filename, or directory name to be unique; then press TAB and the shell will complete the name of the file for you (name completion). The Korn shell, while being the shell on which AT&T is standardizing, is not yet available from most vendors. The versions on our systems were obtained from third-party software companies. Be aware that the TC-shell is not a vendor-provided shell; The Korn shell is now part of the Solaris operating system.
All the shells have a few characters with special meaning, which will cause the shell to change the way it treats the command or the name you are typing. These include: $ & ! ; ( ) and others. Check the man page for your shell to find out more information on these ``metacharacters''. You can create a file for execution which contains only commands acceptable to your shell; this is called a ``shell script'' and is analogous to a DCL command file on VMS. It can be used to do the same kinds of things. More information is available in the ``SUNOS User's Guide: Doing More'' manual.
To avoid confusion, in most of the examples below we will only show the (T)C-shell version. If your account was created when this document was already available, you will have been given a ``.cshrc'' and a ``.login'' which will have examples of many of these already set up; or you can copy the one in /etc/local.cshrc or .login. For more information on KSH you should either read the man page on ksh, or contact a ksh guru.